Veda Booking System is a simple boat booking application that allows users to view and request boat reservations. The system includes two types of users: admin and regular users. Admins have the ability to interact with the calendar, including adding, updating, and canceling requests, while regular users can only view boat reservation information.
Follow these steps to set up and run the Veda Booking System:
- Node.js and npm installed
- PostgreSQL database with the specified credentials
- Vue.js and Yarn installed (for the client)
-
Clone the repository:
git clone https://github.com/codescalersinternships/Veda_booking_calendar
-
Change into the project directory:
cd veda-booking-system
-
Install dependencies for both the server and client:
cd server yarn install cd ../client yarn install
-
Create a
.env
file in theserver
directory with the specified environment variables.
Use the provided Makefile to easily run the server or client:
-
To run the server:
make runserver
-
To run the client:
make runclient
Linting can be performed for both the server and client using the following commands:
-
Server linting:
make lintserver
-
Client linting:
make lintclient
Linting can be performed for both the server and client using the following commands:
-
Server:
make buildserver
-
Client:
make buildclient VEDA_SERVER_DOMAIN=<your_server_domain> isProd=false # Your environment can be true or false depending on your choice.