A full-stack web application that acts as a personal AI recipe assistant, built by a team of software engineers.
This app uses the Google AI (Gemini) API to generate custom recipes based on a user's preferences, allergies, and available ingredients. It features a secure backend with JWT authentication and a relational database to manage user profiles.
- Frontend: React, React-Bootstrap
- Backend: Node.js, Express.js
- Database: PostgreSQL (Deployed on NEON)
- Authentication: JSON Web Tokens (JWT) & bcrypt.js
- AI: Google (Gemini) AI API
Follow these instructions to get a copy of the project up and running on your local machine.
- Node.js (v18 or newer)
- PostgreSQL
- A Google AI (Gemini) API Key
git clone [https://URL-DE-TU-REPO.git](https://URL-DE-TU-REPO.git)
cd tu-chef-virtualThe backend server provides the RESTful API and handles authentication.
# Navigate to the backend folder
cd backend
# Install all required dependencies
npm installCreate the .env file Create a .env file in the /backend root and add the following environment variables. This project uses JWT for authentication and MySQL for the database.
# Google AI API Key
GEMINI_API_KEY=YOUR_GEMINI_API_KEYRun the Backend Server
# This will start the server, typically on http://localhost:8080
npm run devThe frontend is a React application that consumes the backend API.
# Open a new terminal.
# Navigate to the frontend folder from the root directory.
cd frontend
# Install all required dependencies
npm installRun the Frontend CLient
# This will start the React dev server and open a browser window
npm startYou should now have the application running locally!
- D4nD4n01
- SergioMadrid522