Welcome to the Django CalorieApp repository! This project is a web application built with Django that enables users to search for nutritional information of various food items. Whether you're a fitness enthusiast or just curious about the calories in your favorite foods, CalorieApp has got you covered.
To get started with the project, follow these steps:
-
Clone the Repository:
git clone https://github.com/your-username/django-calorieapp.git cd django-calorieapp
-
Set Up Virtual Environment:
python -m venv venv source venv/bin/activate # On Windows, use 'venv\Scripts\activate'
-
Install Dependencies:
pip install -r requirements.txt
-
Run Migrations:
python manage.py migrate
-
Start the Development Server:
python manage.py runserver
-
Visit the Application: Open your web browser and go to http://localhost:8000/ to access CalorieApp.
calorieapp/
: Main Django application directory.templates/
: HTML templates for rendering views.static/
: Static files (CSS, JS, images).views.py
: Contains Django views for handling requests.urls.py
: URL patterns for routing requests to views.models.py
: Defines database models.
manage.py
: Django management script for various tasks.
- Django: https://www.djangoproject.com/
- Requests: https://docs.python-requests.org/
I welcome contributions! If you'd like to enhance the project or fix issues.d).
Feel free to explore, contribute, and make the CalorieApp even better! If you have any questions or issues, please create a GitHub issue. Happy coding! 🚀🍏💻