Food Truck Finder is a Django-based web application that helps users discover nearby food trucks in San Francisco.
Follow these steps to install and run the project locally:
- Python 3.9 or higher
- pip (Python package manager)
git clone https://github.com/KumaTelila/P1-django-take-home-assignment.git
cd P1-django-take-home-assignment
python3 -m venv env
source env/bin/activate # On Windows, use `env\Scripts\activate`
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py load_data
python manage.py runserver
The application will be accessible at http://localhost:8000
.
- Navigate to the homepage.
- Pick a point on the map to find nearby food trucks.
- View the list of nearby food trucks with their Facility Type, addresses, and Loaction Description.
The API provides endpoints for accessing food truck data programmatically. Here are the available endpoints:
GET /api/food-trucks/
Retrieves a list of all food trucks.
- Django 4.2
- Python 3.x
- HTML/CSS
- JavaScript (Leaflet.js for map integration)
Contributions are welcome! Please submit any bug reports, feature requests, or pull requests through the repository's issue tracker and pull request system.