Skip to content

iaminnasr/nodejs-starter

Repository files navigation

starter nodejs Application

Built using modern technologies: node.js, express, mongoDB, mongoose,redis

deploy: npm start

deploy with docker on the ubuntu server :

1-sudo apt install docker.io

2- sudo apt install docker-compose

* in the directory of your project

3- docker-compose up

* show on http://urlserver.com:5000

tips :

1-for start this project in your server with docker pre required to change in the config.env from DATABASE_LOCAL=mongodb://localhost:27017/nodejs_starter to DATABASE_LOCAL=mongodb://mongo:27017/nodejs_starter

2-if you want use redis in your project ,you need to install the redis in your server vs machin and uncomment the line of 3 in the file of server.js

3-if you deploy this project with docker automatically install mongodb and redis otherwise you need to install mongodb and redis individually

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published