Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 768 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 768 Bytes

OTC- Over The Counter Drugs web-app

This MEAN stack application contain the following:

Angular 5, Express JS, Mongoose, Node JS production server, Webpack - Dev server, Webpack, Jasmine for testing, RxJS, Angular-Redux, Bootstrap

check package.json file for more info

This application is deployed on AWS-EC2 instance using bitnami image.

to deploy this application on your local machine.

First you need to setup a local MongoDB DB with name otc-website then add two collections: medicines and customers.

Run npm install

Development server

Run npm run start

Build (use it only when you want to run the node js production server)

Run npm build

Running unit tests

Run npm test

Production server

Run after build npm run start:prod