Skip to content

hhung2710/CRUD_User

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD_User

Install package:

npm install

Set the environment variables:

cp .env.example .env

# open .env and modify the environment variables

Strat server

npm start

Use Postman to send the request.

Get all users:

[GET] locahost:3000/user/

Get user by Id:

[GET] localhost:3000/user/:id

Create an user:

[POST] localhost:3000/user/create

Update an user:

[PUT] localhost:3000/user/:id

Delete an user:

[DELETE] localhost:3000/user/:id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors