Code Monkey home page Code Monkey logo

p1-django-take-home-assignment's Introduction

Food Truck Finder

Food Truck Finder is a Django-based web application that helps users discover nearby food trucks in San Francisco.

Installation

Follow these steps to install and run the project locally:

Prerequisites

  • Python 3.9 or higher
  • pip (Python package manager)

Clone the Repository

git clone https://github.com/KumaTelila/P1-django-take-home-assignment.git
cd P1-django-take-home-assignment

Create and Activate Virtual Environment

python3 -m venv env
source env/bin/activate      # On Windows, use `env\Scripts\activate`

Install Dependencies

pip install -r requirements.txt

Set Up Database

python manage.py makemigrations
python manage.py migrate

Load Data

python manage.py load_data

Run the Server

python manage.py runserver

The application will be accessible at http://localhost:8000.

Usage

  1. Navigate to the homepage.
  2. Pick a point on the map to find nearby food trucks.
  3. View the list of nearby food trucks with their Facility Type, addresses, and Loaction Description.

API Documentation

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.

Technologies Used

  • Django 4.2
  • Python 3.x
  • HTML/CSS
  • JavaScript (Leaflet.js for map integration)

Contributing

Contributions are welcome! Please submit any bug reports, feature requests, or pull requests through the repository's issue tracker and pull request system.

License


p1-django-take-home-assignment's People

Contributors

kumatelila avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.