Skip to content

ITZABEEE123/eid-funfair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Kubwa Eid Funfair E-Ticketing System

A comprehensive web application for managing entrance fees and activities at the Kubwa Eid Funfair celebration.

Features

  • User Authentication: Secure registration and login with password hashing
  • Event Management: Browse and book various activities
  • Payment Processing: Integrated with Paystack for secure payments
  • QR Code Generation: Automatic QR code generation for each booking
  • User Dashboard: View profile, bookings, and payment history
  • Admin Dashboard: Manage users, transactions, and view analytics
  • Responsive Design: Mobile-first design with dark green theme
  • Database: PostgreSQL with Prisma ORM

Tech Stack

  • Frontend: Next.js 14, React 18, TypeScript
  • Backend: Next.js API Routes
  • Database: PostgreSQL
  • ORM: Prisma
  • Authentication: JWT with httpOnly cookies
  • Payment: Paystack API
  • QR Code: qrcode.react & qrcode

Project Setup

1. Prerequisites

  • Node.js v18 or higher
  • PostgreSQL v14 or higher
  • npm or yarn

2. Installation

# Clone the repository
git clone <repo-url>
cd eid-funfair-webapp

# Install dependencies
npm install

# Setup environment variables
cp .env.local.example .env.local
# Edit .env.local with your configuration

# Setup database
npx prisma migrate dev --name init

# Seed database with initial data
npm run db:seed

About

Website to book fun activities on the eid Day

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors