Back-end application or server in charge of supplying
Vehicle Rental web application data needs through Rest API technology.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Vehicle Rental is a website that provides vehicle rental services in various major cities in Indonesia. It has features such as users can rent the desired vehicle, search for vehicles based on certain categories, order history, admin can add vehicles, change vehicles, and users can update personal data.
This is an example of how to list things you need to use the software and how to install them.
- Clone These 2 Repos (Backend and Frontend)
https://github.com/dwinovic/Blanja-ReactJS
- Go To Folder Repo
cd blanja-backend
- Install Module
npm install
- Make a new database and import vehicle-rental-db-sample.sql
- Add .env file at root folder project, and add following
DB_NAME = [DB_NAME]
DB_HOST = [DB_HOST]
DB_USER = [DB_USER]
DB_PASS = [DB_PASS]
PORT = 4000
PRIVATE_KEY = [YOUR_PRIVATE_KEY_FOR_JWT_DECODE]
EMAIL_SERVICE = [YOUR_SMTP_EMAIL]
PASS_EMAIL_SERVICE = [EMAIL_PASS]
HOST_SERVER = [URL_LOCAL_BACKEND]
HOST_CLIENT = [URL_LOCAL_FRONTEND]
CLOUD_NAME = [YOUR_NAME_CLOUDINARY]
API_KEY = [YOUR_API_KEY_CLOUDINARY]
API_SECRET = [YOUR_API_SECRET_CLODINARY]
- Starting application
npm run dev
- Testing with Postman
My Email : novidwicahya19@gmail.com
Project Link: https://github.com/dwinovic/blanja-backend