- Backend: Python (Flask)
- Frontend: React with TypeScript and Tailwind CSS
- Database: MongoDB
conda create -n qyay python=3.9
conda activate qyay
pip install -r requirements.txt
cd backend
python run.py
- Open
http:https://localhost:5001/
in your browser
cd frontend
npm install
npm start
- Open
http:https://localhost:3000/
in your browser
- Method: POST
- Description: Sign up a new user.
- Request Body:
{ "email": "[email protected]", "password": "password123" }
- Method: POST
- Description: Sign in a user.
- Request Body:
{ "email": "[email protected]", "password": "password123" }
- Returns: JWT access token.
- Method: POST
- Description: Create a new event.
- Request Body:
{ "details": { "date": "0000-00-00", "description": "Text Here.", "location": "Text Here." }, "name": "Text Here.", "organizerEmail": "Text Here.", "timestamp": "Text Here." }
- Requirements: JWT authentication.
- Method: GET
- Description: Get a list of events created by the authenticated organizer.
- Requirements: JWT authentication.
- Method: GET
- Description: Get details of a specific event.
- Method: DELETE
- Description: Delete a specific event created by the authenticated organizer.
- Requirements: JWT authentication.
- Method: GET
- Description: Join an event using a unique code.
- Method: POST
- Description: Submit feedback for a specific event.
- Method: GET
- Description: Get feedback for a specific event.
- Method: GET
- Description: Get a list of questions for a specific event.
- Method: PUT
- Description: Upvote a specific question.
- Method: POST
- Description: Submit a question for a specific event.