Welcome to Paradise, a travel booking site designed for trekking enthusiasts. This project features three distinct panels for Admin, Manager, and User roles, allowing for efficient management and booking of trekking plans. Admin and Manager have access to plan management, while Users can book trekking plans.
Here's a preview of what the Paradise travel booking site looks like:
Paradise is a MERN stack-based travel booking platform designed for trekking. It allows administrators to create, activate/deactivate, manage plans, set prices, manage dates, and create discount coupons. Managers can manage plans but cannot create new ones. Users can browse and book available plans for trekking.
-
Admin Panel:
- Create new trekking plans.
- Activate/Deactivate plans.
- Update plan details (price, dates, etc.).
- Manage discount coupons.
-
Manager Panel:
- Manage existing trekking plans.
- Cannot create new plans but can perform other administrative tasks.
-
User Panel:
- Browse and book trekking plans.
- Apply discount coupons.
Paradise requires Node.js to run.
Install the dependencies and devDependencies and start.
# client
cd Paradise/Frontend/
npm install
npm start
# server
cd Paradise/Server/
npm install
Before starting, the servers must set up some environment variables on both the Paradise/Frontend
and Paradise/Server
.
Enter all variables in the Frontend/.env.local
file.
Variables | Description |
---|---|
REACT_APP_FIREBASE_APIKEY | Firebase api key |
REACT_APP_FIREBASE_AUTHDOMAIN | Firebase auth domain |
REACT_APP_FIREBASE_PROJECTID | Firebase project ID |
REACT_APP_FIREBASE_STORAGEBUCKET | Firebase storage bucket |
REACT_APP_FIREBASE_MESSAGINGSENDERID | Firebase messaging sender ID |
REACT_APP_FIREBASE_APPID | Firebase APP ID |
REACT_APP_SERVER_BACKEND_API_URL | Server side URL of birdseye |
Enter all variables in the Server/.env
file.
Variables | Description |
---|---|
PORT | Port number for local |
LOCAL_URI | MongoDB uri for local |
DEV_URI | MongoDB uri for development |
PRODUCTION_URI | MongoDB uri for production |
FIREBASE_SERVICE_ACCOUNT_INFO | Firebase service account information |