This project uses the following environment variables:
Name | Description | Default Value |
---|---|---|
CORS | Cors accepted values | "*" |
Mongoddb | Mongodb DataBase | "*" |
- Install Node.js version 8.0.0
- Clone the repository
git clone https://github.com/mammadsafar/Weblog.git
- Install dependencies
cd Weblog
npm install
npm install nodemon
install mongodb DataBase
- Build and run the project
npm start
Navigate to http://localhost:3000
The current solution has an example for using a private npm repository. if you want to use the public npm repository, remove the .npmrc file.