This is a simple event reservation system built using Next.js, using Supabase as the database and Stripe for payment processing.
Before you begin, make sure you have following set up on your machine:
- Node.js and npm (Node's package manager)
- Vercel CLI tool
You also need to create accounts on Vercel, Supabase, and Stripe (if you use payment feature).
Follow these steps to deploy the Event Reservation System:
-
Clone the repository.
-
Navigate to the project directory:
$ cd event-reservation-system
- Copy the contents of
env.example
file to a new.env
file. Make sure to replace the dummy variables with your actual ones.
$ cp .env.example .env
- Install the project's dependencies:
$ npm install
- To start the application in development mode, execute:
$ npm run dev
You can access the application locally on the URL provided by Next.js, usually http://localhost:3000
.
- Now, to deploy your application, execute:
$ vercel
Now, the Event Reservation System should be up and running. You can access the system on the URL provided by Vercel.