Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 779 Bytes

README.md

File metadata and controls

61 lines (42 loc) · 779 Bytes

B-Airways-backend

Database Mini project

Guide

First clone this project directory.

git clone https://github.com/kasun7153/B-Airways-backend.git

Install Node Modules

npm install

Then run the express server.

npm start

Api Endpoints

  • SignUp - POST
http://localhost:3000/user/signup

{ "name":"kasun", "email":"[email protected]", "birthday":"1997-11-17", "contact_no":"0763250332", "passport_no":"1234", "country":"Sri Lanka", "password":"password", "user_photo":"my_photo" }

  • SignIn - POST
http://localhost:3000/user/signin

{ "email":"[email protected]", "password":"password" }

  • User Profile - GET
http://localhost:3000/user/profile