Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.08 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.08 KB

Book Stall

Demo

URL: Live Demo

Installation

  1. Install docker if not installed as instructed on link https://docs.docker.com/get-docker/
  2. Install docker compose if not installed as instructed on link https://docs.docker.com/compose/install/

Run Application

  1. With Docker Compose
docker-compose up

This will run the backend, frontend and database containers.

Now Goto browser and open below link for Angular Application http://0.0.0.0:30003

Open Below link for backend swagger documentation http://0.0.0.0:30003/documentation

  1. Without Docker Compose
export NODE_ENV=env-local
node index.js

Open Below link for backend swagger documentation http://0.0.0.0:30000/documentation

  1. Run Unit Test Case
npm test

You will the code coverage generated under coverage/index.html. Open this file in broswer.

Technologies Used

  • Backend
    • NodeJS
    • Hapi
    • Mocha
    • Chai
    • Moongose
  • Database
    • MongoDB