Backend for ATA Coffee Appliation
You can check Postman API Documentation Here
- Make sure you already have Redis installed on your machine
- Clone ATACoffee-Backend Repository
- Install Required NPM Packages
npm install
- Create database named
coffee_shop
and importcoffee_shop.sql
from this project folder - Create
.env
files with this value- PORT= (Your decided port number, ex:3000)
- DB_USERNAME= (Your Database User)
- DB_PASSWORD= (Your Database Password)
- DB_NAME=coffee_shop
- JWT_SECRET= (Your own JWT)
- Start Redis Server
redis-server
- Start Application
npm start
- JWT Authentication
- Multilevel Authorization (Admin and Customer)
- Upload Image Multer
- CRUD Items
- CRUD Categories
- CRUD Orders
- CRUD Users
- Redis Server
Frontend dari aplikasi ini dapat dicek pada tautan berikut ATA-Frontend