MyCalorieApp is a user-friendly application that helps users track their daily calorie intake and manage their nutrition goals. Built using the MERN stack (MongoDB, Express.js, React.js, Node.js), this app allows users to log meals, monitor their nutritional intake.
You can check out the live app (https://mycalorieapp-both.onrender.com/)
Ensure you have the following installed:
Clone the repository:
git clone https://github.com/BoyanDashev/MyCalorieApp.git
cd MyCalorieApp
Install server dependencies:
cd server
npm install
Install client dependencies:
cd client
npm install
Set up environment variables:
Create a .env
file in the backend
directory with the following content:
NODE_ENV=development
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
Run the application:
In the backend
directory, start the server:
npm run dev or node server
In the frontend
directory, start the React app:
npm start
The app should now be running at http://localhost:3000
.
Contributions are welcome! Please follow these steps:
git checkout -b feature/your-feature-name
).git commit -m 'Add new feature'
).git push origin feature/your-feature-name
).If you have any questions or suggestions, feel free to reach out!
Thank you for using MyCalorieApp! Happy tracking!