This repository is a starter package for Nodejs. Many basic settings and configurations have been made in this project.
- Routes are set and the controller is created.
- Ejs was imported as a view engine.
- Folders were created and made ready for fast use.
The following packages were imported into Starter Package:
- [express] - Node.js web application framework.
- [nodemon] - Simple monitor script for use during development of a Node.js app.
- [body-parser] - Node.js body parsing middleware.
- [ejs] - Node.js view engine framework.
- [mongoose] - Node.js orm tool for MongoDb.
- [dotenv] - Loads environment variables from .env file.
This list is constantly updated
Here is information on package installation
$ git clone https://github.com/berkekurnaz/nodejs-starter-package.git
$ npm install
$ npm start
Here is information on database connection. Open .env file and change your own informations.
DATABASE_URL=clusterberke-cldba.mongodb.net/test?retryWrites=true&w=majority
DATABASE_NAME=MyTestDb
DATABASE_USER_USERNAME=testusertr
DATABASE_USER_PASSWORD=1234567890
- I will add twitter bootstrap and layouts.