A web application for submitting and viewing feedback about companies.
The project is divided into two main parts:
- Backend: A FastAPI Python application that handles data storage, retrieval, and user authentication
- Frontend: A React TypeScript application that provides the user interface
- FastAPI
- SQLAlchemy
- JWT Authentication
- Python 3.9+
cd backend
pip install -r requirements.txt
uvicorn main:app --reload- React
- TypeScript
- Vite
cd frontend
npm install
npm run dev- User registration and authentication
- Submit feedback about companies
- Option to submit feedback anonymously
- View all feedback
- Upvote feedback
- Filter feedback by company
POST /api/users/register- Register a new userPOST /api/users/login- Login and get access tokenGET /api/users/me- Get current user infoGET /api/feedbacks- Get all feedbacksPOST /api/feedbacks- Create a new feedbackPOST /api/feedbacks/anonymous- Create anonymous feedbackPUT /api/feedbacks/{id}/upvote- Upvote a feedback