This repository is inspired by Aldo - Backend Test, in which there are Point of Sale features - Login, Register, Profile, Master Data, Product and the main function is Order. I hope this REST API can be useful for you and I invite you to collaborate using this REST API for your needs to build web or mobile applications.
- yarn v1.17+
- NodeJS v8+
- Sequelize v6+
- JavaScript
- NodeJS with Express.js framework
- REST API
- MySQL database
- Sequelize ORM
- Cloudinary
- Clone repository
- Import Database from
docs > db > db_calore.sql
or download Database Calore - Setup ENV File (read env example for setup)
- Open Command or Terminal and Write yarn install
- Create Cloudinary account to generate key to setup in ENV
- Write yarn dev in terminal
- Copy json file from
docs
to your machine - Import Json file to your postman Collections
Authentication | User |
---|---|
- Login | - Get Profile |
- Register Role (Admin / Cashier) | - Update Profile (Admin / Cashier) |
Data Master | Data Master |
---|---|
- Tax | - Address |
- Discount | - Category |
- UoM | - Cashier Only Access Get method |
Product | Product |
---|---|
- [Admin] Add Product | - Get Product |
- [Admin] Update Product |
Order | Order |
---|---|
- Get Order | - Add Order |
- Get Order Detail | - Update Order |
If you have a problem you can put it in the issue or contact me via the email listed on the profile