A fun web application that generates humorous reviews based on student information, including their study stream, hobbies, and fun facts.
- Interactive form for student information input
- Dynamic review generation with personalized humor
- Beautiful, responsive UI with animations
- MongoDB integration for storing reviews
- RESTful API endpoints
- Frontend: React.js with Vite, Tailwind CSS, Framer Motion
- Backend: Node.js, Express.js
- Database: MongoDB
- Additional: Axios for API calls, HeadlessUI for components
- Node.js (v14 or higher)
- MongoDB installed and running locally
- npm or yarn package manager
-
Install dependencies:
npm install
-
Create a
.env
file with the following variables:MONGODB_URI=mongodb://localhost:27017/student-reviews PORT=3000
-
Start the server:
npm start
-
Navigate to the client directory:
cd client
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
- POST
/api/generate-review
: Generate and save a new review - GET
/api/reviews
: Fetch all stored reviews - DELETE
/api/reviews/:id
: Delete a specific review
Feel free to submit issues and enhancement requests!