Skip to content

jdamilasp/productapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product API

This project build using MEAN Stack. It's include two part. client and server.

Client -> Angular

Server -> NodeJs | ExpressJs

DB -> Mongodb and Redis

How to Setup project

Pre requirement

  1. Install nodeJs 8.x.x higher version
  2. Install MongoDB and Redis DB
  3. Install angular cli in global
  4. install pm2 in global

Home Page

home-page

Home Page

dahsboard-page

How set up development enviroment

Link to UI Page

Link : https://github.com/jdamilasp/productapi/tree/master/ui

Set up Client

  1. go to client directory
  2. npm install // install all angular project require node modules
  3. ng serve

Set up Server

  1. go to server directory
  2. npm install // install all express project require node mondules
  3. npm start

API Doc Generation

  1. go to server directory
  2. npm run doc // create api doc

How set up production deployment

  1. go to client directory
  2. npm install
  3. npm run build // here two part. 1 build minify angular project and 2. copy express public directory
  4. go to server directory
  5. npm install
  6. npm run prod // here express app start using pm2 and it will running as background process

More Info

Amila Sampath | jdamilasp@gmail.com

About

This product API client and server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •