Skip to content

Backend for Cashier, this api can implement for website or mobile development. build in javascript (express js)

Notifications You must be signed in to change notification settings

Derida23/Calore-Backend

Repository files navigation

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.

Requirments

  • yarn v1.17+
  • NodeJS v8+
  • Sequelize v6+

Backend Technology Stack

  1. JavaScript
  2. NodeJS with Express.js framework
  3. REST API
  4. MySQL database
  5. Sequelize ORM
  6. Cloudinary

Get Started

  1. Clone repository
  2. Import Database from docs > db > db_calore.sql or download Database Calore
  3. Setup ENV File (read env example for setup)
  4. Open Command or Terminal and Write yarn install
  5. Create Cloudinary account to generate key to setup in ENV
  6. Write yarn dev in terminal

API Documentation

  1. Copy json file from docs to your machine
  2. Import Json file to your postman Collections

Features

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

About

Backend for Cashier, this api can implement for website or mobile development. build in javascript (express js)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published