RAZYR FURNITURE is a backend application specifically designed to support the management and operation of a furniture business. This application provides various features that enable users to efficiently manage inventory, customers, orders and sales.
First of all, you need to install Git & NodeJS. Then open your git bash, and follow this:
$ git clone https://github.com/teamNgabuburide/ngabuburide-be
$ cd ngabuburide-be
$ code .
$ npm i
$ apt-get update
$ apt-get install git-all
$ apt-get install nodejs-current
$ git clone https://github.com/teamNgabuburide/ngabuburide-be
$ cd ngabuburide-be
$ code .
$ npm i
DB_HOST = "YOUR HOST"
DB_NAME = "YOUR DB NAME"
DB_PORT = "YOUR DB PORT"
DB_USER = "YOUR DB USER"
DB_PWD = "YOUR DB PASSWORD"
SERVER_PORT = "YOUR LOCALHOST"
JWT_SECRET = "YOUR SECRET JWT"
CLOUD_NAME = "YOUR CLOUDNAME"
CLOUD_KEY = "YOUR KEY CLOUD"
CLOUD_SECRET = "YOUR KEY SECRET CLOUD "
- Starting application
$ npm run dev
Endpoint | Method | Info | Remark |
---|---|---|---|
/auth | POST |
Auth | Login |
/auth/logout | PATCH |
Auth | Logout |
/auth/register | POST |
Auth | Register |
/auth | PATCH |
User | Change Password |
/auth/otp | PATCH |
User | get otp |
/auth/forgot | PATCH |
User | fotgot password |
/profile | GET |
Profile | Get Profile |
/profile | PATCH |
Profile | Edit Profile |
/transactions/:id | GET |
Transactions | History Transaction |
/transactions/add | POST |
Transactions | Create Transaction |
/product/all | GET |
Products | Get all product |
/product/add | POST |
Products | Create product |
/product/:id | GET |
Products | Get detail product |
/product/:productId | PATCH |
Products | Edit product |
/product/delete/:id | DELETE |
Products | Delete product |
/product/categories | GET |
Products | Get categories |
/product/categories/count | GET |
Products | Get categories count |
/product/edit-images/:id | PATCH |
Products | Edit Images Product |
/favorit | GET |
Favorite | Get all Favorite |
/favorite | POST |
Favorite | Create Favorite |
/favorite/:id | DELETE |
Favorite | Delete Favorite |
/promo/discount | GET |
Promo | Get Promo |
/promo/:id | GET |
Promo | Get Detail promo |
/promo/add | POST |
Promo | Create promo |
/promo/edit/:id | PATCH |
Promo | Edit Promo |
/promo/delete/:id | DELETE |
Promo | Delete Promo |
Click here POSTMAN
Download json POSTMAN
Redha Definto |
Afif Buchori |
Abdul Latif Rosid |
Yanu Setiawan |
Zikri Aulia |