Welcome to BuildMyEvent! This is a digital ticketing platform where users can create events, manage tickets, and attend events using roles like organizer
or attendee
. The platform also integrates Metamask wallets for users.
- Event creation and management.
- Role-based access (
organizer
,attendee
). - Integration with Metamask for user wallets.
- Digital ticketing system.
- Secure authentication using JWT.
To get started, clone the repository and install the dependencies:
git clone https://github.com/your-username/BuildMyEvent.git
cd BuildMyEvent
npm install
- Node.js (v16+)
- MySQL (or compatible database)
- Metamask (for users with wallets)
Create a .env file in the root of your project and configure it as needed:
PORT=3000
DATABASE_URL=mysql://user:password@localhost:3306/buildmyevent
SECRET_JWT_TOKEN=your_jwt_secret
Create a .env file in the root of your project and configure it as needed:
- Reset Migrations (optional): If you need to reset and start fresh:
npx prisma migrate reset
- Run Migrations: To apply the migrations:
npx prisma migrate dev
- Generate Prisma Client:
npx prisma generate
- Install dependencies
npm install
- To start the project in development mode:
npm run dev
- Node.js: Backend runtime.
- Express: Web framework.
- Prisma: ORM for database handling.
- MySQL: Relational database.
- JWT: Secure token-based authentication.
- Metamask: Blockchain wallet integration.