BoyanDashev / mycalorieapp

Apache License 2.0
0 stars 0 forks source link

MyCalorieApp

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.

Table of Contents

Features

You can check out the live app (https://mycalorieapp-both.onrender.com/)

Installation

Prerequisites

Ensure you have the following installed:

Steps to Install

  1. Clone the repository:

    git clone https://github.com/BoyanDashev/MyCalorieApp.git
    cd MyCalorieApp
  2. Install server dependencies:

    cd server
    npm install
  3. Install client dependencies:

    cd client
    npm install
  4. 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
  5. 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.

Usage

Technologies Used

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature-name).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add new feature').
  5. Push to the branch (git push origin feature/your-feature-name).
  6. Open a pull request.

Contact

If you have any questions or suggestions, feel free to reach out!


Thank you for using MyCalorieApp! Happy tracking!