Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.47 KB

README.md

File metadata and controls

63 lines (41 loc) · 1.47 KB

recap-be

Back end of the Recap application.

Table of Contents

Getting Started

Build Setup

###Yarn

# install dependencies
yarn

# start dev server at localhost:4000
yarn start

# build project
yarn build

###Bundling For Production

It needs to run yarn build or npm run build to build this backend project and need to add the frontend build distribution in to a new folder called build-fe inside build folder.

###Serve In Production Here PM2 has used as the process manager. So mention environment variables in the ecosystem.config.js file, which has created in .env file (.env.default has needed variables) in the development stage.

Tech Stack

  • Express.js
  • ms sql server (Can change to any sql based database)
  • Apollo Graphql with subscriptions

Automatic restart the pm2 served app

Go through below link https://blog.cloudboost.io/nodejs-pm2-startup-on-windows-db0906328d75?gi=e094e569457e

Maintainers

@yathindra123

Contribute

Warmly welcome pull requests from any contributor

Links

License

MIT © 2018 Yathindra Kodithuwakku