/recent-wins

Simple API to demonstrate Koa2

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Recent Wins Build Status

Simple API to demonstrate Koa2.
Currently returns json data of my recent accomplishments.

To Run:

  • Clone the repository.
  • Run npm install
  • When all dependencies are installed run npm start
  • Send a GET request to localhost:4000 in your browser to retrieve all information in JSON format

Endpoints

  • / : Redirects to all
  • /all : Displays all categories and their information
  • /categories/:category : Returns the information for a specific category

Testing

To test run npm test. This project uses ava as the testing suite with the help of supertest.

Categories

TO DO

  • Write a REACT(-bootstrap) frontend to display the information
  • Add some more experiences :-)