Giter VIP home page Giter VIP logo

billy-code-challenge's Introduction

Hi there ๐Ÿ‘‹

billy-code-challenge's People

Contributors

deividasjackus avatar dependabot[bot] avatar

Forkers

thomasofdenmark

billy-code-challenge's Issues

Add automated tests

  • Set up Mocha & Chai.
  • Assert the results of a single handler.
  • Simulate the example mentioned in the challenge description.
  • Add npm run script.

Use a database

I'm a big fan of Firebase Firestore when it comes to side projects.

However for this specific challenge I'd like to try out lowdb instead as it seems to be really small and nearly perfect for small servers & utilities.

Note: we're using an in-memory adapter for the purpose of this challenge, but to make sure the code being written is independent of the adapter we still await for .value() & .write() methods of the DB. This way if we were to switch away from an in-memory adapter to, say, one that utilizes the FS, we shouldn't have to change actual interactions with the DB.

Design the API

  • List the structure, actions & request/response shapes.
  • Describe responses in cases of success & errors.
  • Update README.

Create Express server

  • Add server skeleton to create a basic server.
  • Add API handler skeletons.
  • Add logging.
  • Add error handling.
  • Update README.

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.