This is REST API for creating new clients, retrieving client and list of clients with basic web interface.
- Node.js 9.4 - backend + javascript(ES5)
- MongoDB 3.0.1 - database
- Mongoose 5.0.1 - data layer
- jQuery 3.3.1 - frontend
- Bootstrap 4 - frontend web elements
- Handlebars 4.0.1 - template engine
To run this project in your local machine you need to install MongoDB 3.0.1. Once MongoDB is
installed and started, ensure that config.db.port
in config/index.js
is the same as your running database port.
Be sure that node >= 4.0
and npm is installed in your local machine.
Be sure that config.port
in config/index.js
is available in your local machine. Currently default port is 3000
.
Run these commands in root directory.
Install dependencies:
npm install
Start server:
npm start
Open http://localhost:3000
in your browser.