This is a simple Database Administrator application specially for backend only. Built with NodeJs using the ExpressJs Framework. Express.js is a web application framework for Node.js. More about Express
[![node.bcrypt.js][https://github.com/kelektiv/node.bcrypt.js#readme]
- Open app's directory in CMD or Terminal
- Type
npm install - Make new file a called .env, set up first here
- Turn on Web Server and MySQL can using Third-party tool like xampp, etc.
- Open Postman desktop application or Chrome web app extension that has installed before
- Choose HTTP Method and enter request url.(ex. localhost:8080/)
- You can see all the end point here
1. GET
/manage/product(Get All product)/manage/product/:id(Get product by id)/color/product(Get All color product)/color/product/:id(Get color product by id)/rating(Get All rating)/rating/:id(Get rating by id)/manage/category(Get All category)/manage/category/:id(Get category by id)/image/product(Get All image product)/image/product/:id(Get image product by id)/manage/user(Get User By role_id)
2. POST
/manage/product(Get All product)/color/product(Get All color product)/rating(Get All rating)/manage/category(Get All category)/image/product(Get All image product)/manage/user(Get User By role_id)
3. PUT
/manage/product/:id(Get product by id)/color/product/:id(Get color product by id)/rating/:id(Get rating by id)/manage/category/:id(Get category by id)/image/product/:id(Get image product by id)
4. PATCH
/manage/product/:id(Get product by id)/color/product/:id(Get color product by id)/rating/:id(Get rating by id)/manage/category/:id(Get category by id)/image/product/:id(Get image product by id)
5. DELETE
/manage/product/:id(Get product by id)/color/product/:id(Get color product by id)/rating/:id(Get rating by id)/manage/category/:id(Get category by id)/image/product/:id(Get image product by id)