Skip to content

charan379/moviebunkers

Repository files navigation

moviebunkers 🎬

VERSION LAST UPDATE AGPL License

This is REST API application. Developed using Express, Nodejs , Typescript

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DOMAIN_NAME
MONGODB_SERVER_STRING
HTTPS
COOKIE_SECRET
JWT_SECRET
CORS_ORIGINS SUPER_ADMIN MAIL_SERVICE_PROVIDER MAIL_SERVICE_HOST MAIL_SERVICE_PORT MAIL_SERVICE_AUTH_USER MAIL_SERVICE_AUTH_PASSWORD PORT
NODE_ENV

Example

DOMAIN_NAME=localhost
MONGODB_SERVER_STRING=mongodb://127.0.0.1:27017/moviebunkers
HTTPS=false
COOKIE_SECRET=my cookie secret
JWT_SECRET=my jwt secret key
CORS_ORIGINS=http://localhost:3080,http://yourapp.com
PORT=3010
NODE_ENV=production

Run

Clone the project

  git clone https://github.com/charan379/moviebunkers.git

Go to the project directory

  cd moviebunkers

Add Environment Variables then Install dependencies

  npm install

Start the server

  npm run start

Start the server in dev

  npm run dev

Server will start running on given port

Post-Installation

Swagger Documentation

    http://localhost:PORT/api-docs

Swagger-docs-preview

Authors

License

AGPL License