This is a web-based event ticketing application built using Flask for the backend and React for the frontend. Users can sign up, log in, view upcoming events, and purchase event tickets.
These instructions will help you set up and run the project on your local machine for development and testing purposes.
Before you begin, ensure you have met the following requirements:
-
Clone the repository:
git clone
-
Change into the project directory:
cd server
-
Set up the Flask backend:
-
Create a virtual environment:
pipenv install
-
Activate the virtual environment:
-
On macOS and Linux:
Pipenv Shell
-
-
Install Python dependencies:
pip install
-
Set up the SQLite database:
flask db init flask db migrate flask db upgrade
-
-
Set up the React frontend:
-
Change into the
Client
directory:cd Client
-
Install JavaScript dependencies:
npm install
-
-
Start the Flask backend:
flask run
-
Start the React frontend (from the
frontend
directory):npm start
Your application should now be running locally. You can access it in your web browser at http:https://localhost:4000
.
- Register a new user account or log in with an existing one.
- Browse upcoming events and click "Buy Tickets" to purchase tickets for an event.
- View your purchased tickets in the "My Tickets" section.
- User registration and authentication.
- View upcoming events with event details.
- Purchase event tickets.
- View purchased tickets in the "My Tickets" section.
- Flask (Python)
- React (JavaScript)
- SQLAlchemy (Python)
- SQLite (Database)
- Node.js
- npm
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive messages.
- Push your changes to your fork.
- Create a pull request to the
main
branch of the original repository.
This project is licensed under the MIT License - see the LICENSE file for details.