Skip to content

Built a simplified event management system that allows users to create events, register for events, and manage capacity

Notifications You must be signed in to change notification settings

abhirajjsingh/event_management_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event Management System

Simple events API + frontend using Express and SQLite.

Setup

  1. Install dependencies
npm install
  1. Run the API server
npm run dev

The server runs at http://localhost:3000.

  1. Open the frontend
  • Open index.html in your browser (or use Live Server).

API Overview

  • Auth
    • POST /api/auth/register { email, name, password }
    • POST /api/auth/login { email, password } -> { token, userId }
  • Events
    • POST /api/events (auth)
    • GET /api/events
    • GET /api/events/:id
    • PUT /api/events/:id (auth, creator only)
    • DELETE /api/events/:id (auth, creator only)
  • Registrations
    • POST /api/events/:id/register (auth)
    • DELETE /api/events/:id/register (auth)
    • GET /api/users/:id/registrations (auth, same user only)

Notes

  • Capacity enforced; duplicate registrations prevented.

  • Only creators can modify/delete their events.

  • SQLite database file: events.sqlite.

  • Configure JWT_SECRET via environment variable in production.

About

Built a simplified event management system that allows users to create events, register for events, and manage capacity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published