- Python : link
Git clone
git clone https://github.com/GaetanPcht/projetthematique.git
cd projetthematique
pip install django
pip install djangorestframework
Run this application
python manage.py runserver
# or
py manage.py runserver
Administrator interface
127.0.0.1:8000/admin (root:root)
Get JSON with stop parameter
127.0.0.1:8000/gtfs-to-json/<stop name>
(ex : 127.0.0.1:8000/gtfs-to-json/UPJV SAINT-LEU)
Get JSON with stop and time parameters (shows upcoming stops within 1.5hours after the specified time)
127.0.0.1:8000/gtfs-to-json/<stop name>/YYYYMMDD-hh:mm:ss
(ex : 127.0.0.1:8000/gtfs-to-json/UPJV SAINT-LEU/20220330-14:00:00)
If you don't have database. Remove folder migration then do the following command lines.
py manage.py makemigrations
# or
python manage.py makemigrations
py manage.py migrate
# or
python manage.py migrate
If a module is not found. Do the following command lines.
pip install <nameModule>
👨 Gaétan PICHOUT
- Github : @GaetanPcht
👨 Loïc MALVOISIN
- Github : @malvoisinl
👨 Théo METEYER
- Github : @tmeteyer
👨 Rémy POTTIEZ
- Github : @Draclight