Giter Site home page Giter Site logo

cyoa-take-home's Introduction

Front-end Choose Your Own Adventure Take-Home

Design and build a comments feed that displays all comments and notifies a user in real-time when new comments are added.

Here is the data schema for a Comment:

  • id: INTEGER
  • name: TEXT
  • created: DATETIME
  • message: TEXT

Here are the API endpoints:

  • Create a comment: /createComment (POST)
  • Retrieve all comments: /getComments (GET)
  • Retrieve a comment: /getComment (GET)
  • Delete all comments: /deleteComments (DELETE)
    • This is useful for purging data

This is a basic wireframe, you can change the layout. While you won't be screened as a product designer, make sure you build a good user experience. If you decide to use a third-party design system, be prepared to discuss your decision.

Basic wireframe

Please write unit tests and handle errors where you see fit.

Engineering Style

We do not expect you to have expertise in all the topics that encapsulate front-end web development. We recognize that some folks are specialists and others are generalists!

Specialist

If there's a particular topic you enjoy, you can focus your assignment solution on that!

Some examples include:

  • Performance optimizations
  • Accessibility
  • Integration testing

Generalist

If you're a generalist, you can focus more on building the minimum viable product described above with the wireframe!

Interview Details

We have already set up an API client for a Node Express server that stores comments in SQLite.

You have the option of doing the assignment with or without a front-end JS framework.

If you decide to use a framework, we recommend the following boilerplates:

Be prepared to have a discussion about your implementation. Here are some example discussion questions:

  • How can you optimize fetching new comments in real-time?
  • Are there any restrictions we should place on the comment input?

We recommend spending up to four hours on this assignment. If you don't get every piece you hoped completed done in the timeframe, that's alright! We'll be having an hour long discussion on your thought processes and where you might spend more time, and that discussion is a key part of our evaluation!

Usage

Run in Development

$ npm install
$ npm run dev

Testing

// to start the application
$ npm run dev
// to start cypress
$ npm run test 

cyoa-take-home's People

Contributors

asbillings07 avatar dependabot[bot] avatar

Watchers

 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.