Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.18 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.18 KB

Backend

This was built with node and koajs (modern alternative for express)

The API Docs can be viewed at http://localhost:8080/apiDocs

Use the swagger UI http://petstore.swagger.io/ for testing (spec path http://localhost:8080/_api.json)

Installation

  • Enter the directory.
  • Installing yarn package manager : https://yarnpkg.com/en/docs/install
  • We need node version greater than 8. If your distro does not provide that, you can use nvm to install it
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
source ~/.bashrc
nvm install node
source ~/.bashrc
  • Installing dependencies:
yarn install

Starting backend dev server

This is the dev server which will auto refresh when you edit any file

Open a new window in your Terminal. Enter the directory.

yarn watch

Technologies used / docs for reference