Coder Social home page Coder Social logo

kata-api's Introduction

Kata API Challenge

Practice the basics of Express by configuring an Express server to provide HTTP endpoints to sit in front of your JavaScript Basics katas.

We have provided an end-to-end test suite written using Mocha and Chai, a popular alternative to Jest.

We have also provided the most basic Express configuration possible in src/app.js

You challenge is to configure this Express server and integrate your JavaScript Basics code to make the tests pass.

Install

  • Fork this repository
  • git clone [email protected]:<your-github-username>/kata-api.git
  • npm install

Move over your JavaScript Basics code

Copy the src code from your JavaScript Basics repository into a lib directory in this repositories src directory. You should end up with the following file structure in this project:

src
├── app.js
└── lib
    ├── arrays.js
    ├── booleans.js
    ├── numbers.js
    ├── objects.js
    └── strings.js

Running the API

  • npm start uses Nodemon to run the development server with file-watch enabled.

Running the Tests

  • npm test uses Mocha to run e2e tests defined in tests directory

kata-api's People

Contributors

harrim91 avatar thepunkyone 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.