This is a FastAPI application that provides endpoints for managing users, events, and registrations.
- Method:
POST
- Endpoint:
/users/signup
- Description: Signup a new user.
- Method:
POST
- Endpoint:
/users/signup/verify
- Description: Verify user registration.
- Method:
GET
- Endpoint:
/users/login
- Description: Login user.
- Method:
DELETE
- Endpoint:
/users/delete
- Description: Delete user.
- Method:
DELETE
- Endpoint:
/users/delete/verify
- Description: Verify user deletion.
- Method:
POST
- Endpoint:
/events/create
- Description: Create a new event.
- Method:
PUT
- Endpoint:
/events/update
- Description: Update event details.
- Method:
DELETE
- Endpoint:
/events/delete
- Description: Delete event.
- Method:
GET
- Endpoint:
/events/get
- Description: Get event details.
- Method:
GET
- Endpoint:
/events/get/all
- Description: Get details of all events.
- Method:
POST
- Endpoint:
/events/register
- Description: Register for an event.
- Method:
GET
- Endpoint:
/events/get/registered
- Description: Get events for which the user is registered.
- Method:
GET
- Endpoint:
/events/get/registered/conditional
- Description: Get registered events based on conditions.
- Method:
PUT
- Endpoint:
/events/users/checkin
- Description: Checkin a user for an event.
- Method:
GET
- Endpoint:
/events/users/download
- Description: Download details of all users.
- Method:
GET
- Endpoint:
/
- Description: Root endpoint.
- Install dependencies:
pip install -r requirements.txt
- Run the FastAPI application:
uvicorn main:app --reload
- Access the API at
http://127.0.0.1:8000