A full-stack cooking application with recipe management, meal planning, AI recommendations, and collaborative cooking features.
- User authentication and profiles
- Recipe creation and management
- Meal planning
- AI-powered recipe recommendations
- Collaborative cooking sessions
- Nutrition analytics
- Voice assistant
- Barcode scanner for ingredients
- Collections for organizing recipes
- Multi-language support (English and Hindi)
- Frontend: React.js, Sass, i18next for internationalization
- Backend: Node.js, Express.js, MongoDB with Mongoose
- AI: DeepSeek API integration
- Authentication: JWT
- Deployment: Ready for static hosting (frontend) and server hosting (backend)
- Node.js (v16 or higher)
- MongoDB (local or cloud instance)
- npm or yarn
-
Navigate to the backend directory:
cd backend -
Install dependencies:
npm install
-
Create a
.envfile in the backend directory with the following variables:PORT=5000 MONGODB_URI=mongodb://127.0.0.1:27017/cookonweb JWT_SECRET=your_jwt_secret_here FRONTEND_ORIGIN=http://localhost:3000 DEEPSEEK_API_KEY=your_deepseek_api_key -
Start the backend server:
npm start
-
Navigate to the root directory:
cd .. -
Install dependencies:
npm install
-
Start the frontend development server:
npm start
The app will be available at http://localhost:3000.
- To run frontend and backend together from the project root:
npm run dev
npm run buildThis creates a build folder with the production-ready files.
Set NODE_ENV=production in your environment variables.
The built frontend can be deployed to any static hosting service like:
- Vercel
- Netlify
- GitHub Pages
- AWS S3 + CloudFront
Deploy the backend to a server or cloud platform like:
- Heroku
- DigitalOcean
- AWS EC2
- Railway
Make sure to set the FRONTEND_ORIGIN environment variable to your frontend's URL in production.
Use MongoDB Atlas for cloud database or set up MongoDB on your server.
/api/auth- Authentication/api/recipes- Recipe management/api/meal-plans- Meal planning/api/chatbot- AI chatbot/api/collections- Recipe collections/api/nutrition- Nutrition analytics/api/collaboration- Collaborative cooking
Run backend tests:
cd backend
npm test- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
ISC