An authenticated Node.JS Express Server which serves a simple user website which allows CRUD operations on a REST API.
Two routing templates have been used.
The first routing is api routing which provides an interface for clients who wants to use this REST API for CRUD user operations.
The second routing is web application routing which serves html pages and represents the data from REST API.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to have Node.js and MongoDB installed.
npm install node`
Please follow instruction for installation from here
- Clone the repo by using git clone.
- Run npm install on the cloned directory.
- Edit the config.js file to suit your needs.
Run the following comment to install dependencies.
npm install
Run the following comment on the cloned directory.
npm start
Go to the following address. This will show the login page of the web application. If a session started it will display welcome page.
http://localhost:8080
In order to test REST API postman chrome extension is used.
Nil Karadağ
Here are some useful links to learn and develop:
Pluralsight course - Building AngularJS and Node.js Apps with the MEAN Stack
Pluralsight course - RESTful Web Services with Node.js and Express