Skip to content

Repository files navigation

This is a Backend Project Basic with Next.js

Routes

Product Routes:

Get All Product
GET http://localhost:3000/api/v1/products

Get Product with query filtering
GET  http://localhost:3000/api/v1/products?minp=20&maxp=80&q=keyboard

Get by Id
GET  http://localhost:3000/api/v1/products/2

Patch by Id
PATCH http://localhost:3000/api/v1/products/2

Delete Product
DELETE  http://localhost:3000/api/v1/products/3

Auth Routes:

Registering User
POST http://localhost:3000/api/v1/auth/register

Login User
POST http://localhost:3000/api/v1/auth/login

{
  "email":"rasyid@gmail.com",
  "password":"123456"
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages