Skip to content

code-flag/user-employee-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is developed using 
nodejs
express
MongoDb

To start, run this commands

npm install
npm start

endpoints

localhost:5100/api/user/signup   Post
localhost:5100/api/user/login  Post 
localhost:5100/api/user ------------- Get - get register users 
localhost:5100/api/user/_id -----------Get - get user by id
localhost:5100/api/emp/employees ------- Post ---------- create employee acount
localhost:5100/api/emp/employees ------- put ---------- update employee acount
localhost:5100/api/emp/employees ------- Get ---------- get all employee acount
localhost:5100/api/emp/employees/_id ------- Get ---------- get employee by id
localhost:5100/api/emp/employees ------- delete ---------- delete employee acount

About

This repo is contain user-employee REST API built with Nodejs Express and Mongodb.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published