Coder Social home page Coder Social logo

fe-tech-assessment's Introduction

Front End Technical Assessment

Overview

Create a Web Component using LitElement and Typescript that can render markdown. The component should be able to render the markdown client side, or send the markdown to an API endpoint to be rendered.

Requirements

  • Ability to render markdown client side - given a plain text string or file of markdown, make it possible to render it as HTML.
  • Ability to call http service to render markdown - use an API that is capable of rendering markdown as an alternative to using local rendering
  • Make an option for all links in the rendered markdown to open in a new tab - markdown includes links, so make sure that those open in a new tab
  • Publish the component to npm
  • Create a separate project with the Angluar or Vue CLI in the "consumer" sub-folder and use your newly published package in it
  • Document web component API / usage

Use 3rd party libraries as needed.

Provided Markdown Service

You can run the provided markdown serivce with either of the following methods:

  1. Docker Compose
  • in the markdown-server folder run docker-compose up
  1. Manually
  • install nodejs/npm (node 10 is known working, other versions untested)
  • be in the markdown-server folder
  • run npm install
  • run npm start

The API is very simple, a POST request with markdown text body to /markdown will return html text

There is an example http request in markdown-server/example-requests

Considerations

  • The web component does not need to support IE11, just latest versions of modern browsers

References

Output

Your output for this assessment should be code committed to the git bundle provided to you where you found this readme

fe-tech-assessment's People

Contributors

jkatsnelson avatar stephantabor avatar jeffgsk avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.