This is a backend for the Jajanan app. This app has 3 roles, namely admin, vendor, and user. The admin can manage all data, the vendor can manage its product, and the customer can order the product.
- Login
- Logout
- Refresh Token
- Register
- Login
- Logout
- Refresh Token
- Register
- Login
- Logout
- Refresh Token
- Admin Management
- Category Management
- File Management
- Jajan Item Management
- Jajan Item Snapshot Management
- Payout History Management
- Session Management
- Top-Up Management
- Transaction History Management
- Transaction Item History Management
- User Level Management
- User Management
- User Subscription Management
- Vendor Level Management
- Vendor Management
- E-wallet Top-Up
- Webhook Top-Up
- Payout
- Webhook Payout
- Checkout Transaction
- User Subscription
- Sync Location
- Clone this repository.
- Open the terminal and change the directory to the cloned repository.
- Set up the environment variables according to the configured infrastructure in
docker-compose.yml
file and 3rd party service credentials. - Prepare
firebase-admin-key.json
file and put it in the root directory. This file is used for Firebase admin SDK. - Run
docker-compose up -d --build
command in the terminal. This command will build and run the docker container. - Wait until the build and run process is complete.
- Try the application from the specified host and port in your HTTP client, i.e.
http://localhost:3000/api/v1
.