This is a boilerplate to build a full stack web application using Angular 7, Node JS, Express JS and MongoDB. It is also configured with tslint, typescript .
This is a simple full stack application with a Node.js , Express and mongoDB backend. Client side code is written in Angular 7 and the backend API is written using express.
In the development mode, we will have 2 servers running. The front end code will be ng served by the webpack dev server which helps with hot and live reloading. The server side Express code will be served by a node server using nodemon which helps in automatically restarting the server whenever server side code changes.
# Clone the repository
git clone https://github.com/adwaitya/simple-angular-full-stack
# Go inside the directory
cd simple-angular-full-stack
# Install dependencies for Node Server and Start server
cd node-rest-api
npm i
npm start
# Start angular client
cd angular-client
npm i
npm start
- JWT TOKEN Authentication And Authorization
- User can update, delete the profile.
- User can create the profile.
- User can see the profile details.
- Role Base Authorization
POST /v1/auth/signin
Method Endpoint Description
GET /v1/api/users Retrieves a list of users
.POST /v1/api/users/ Create a new user
Get /v1/api/users/id Retrieves a specific user
PUT /v1/api/users/ Updates user
DELETE /v1/api/users/:id Deletes user
- npm test
Adwaitya Sadhukhan
ISC