Skip to content

Ajay-Mali/Basic-Full-Stack-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Full Stack app

An Add Addresses REST API created using Node.js, Express.js and MongoDB. The API uses promises extensively to query the MongoDB database.

Setup

After cloning, use "npm install" and server the app using "node index.js". client App using "ng serve -o"

API Reference

POST registration User

  POST http:localhost:3000/api/server/registration

POST login User

  POST http:localhost:3000/api/server/login

This Endpoint send JWT Token to Client

GET All Addresses

  GET http:localhost:3000/api/server/address

This Endpoint Take Request Headers authorization

POST Add Addresses

  POST http:localhost:3000/api/server/address

This Endpoint Take Request Headers authorization And Request Body

POST Add Addresses

  POST http:localhost:3000/api/server/address/:id

This Endpoint Take Request Params id

Deployment

To Run Client this project run

  ng serve -o

To Run Server this project run

  node index.js

To Run Server in Dev Mode this project run

  npm run dev

Features

Client site

  • User registration
  • User Login
  • User Add / Delete / View Address
  • User Login auth guard
  • User auth guard

Server site

  • User registration API
  • User Login API
  • User Add / Delete / View Address API With JWT

Screenshots

Tech Stack

Client: Angular, ngx-Bootstrap

Server: Node, Express , Mongodb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published