This is a simple, yet optimized parking reservation system written in Django. Currently only the backend system.
- Django - Python Web Developement framework 2.2+
- Python 3.5+
Use Python's own build-in venv
to create a virtual environment and install dependencies inside the (venv).
$ python3 -m venv venv
Activate the virtual environment.
$ source venv/bin/activate
To deactivate the virtual environment.
$ deactivate
Install the dependencies in the requirements.txt
file.
(venv)$ pip3 install -r requirements.txt
Setup the Django project, migrate changes and create a superuser to the Database.
(venv)$ django-admin startproject <project-name> && cd <project-name>
(venv)$ python3 manage.py makemigrations
(venv)$ python3 manage.py migrate
(venv)$ python3 manage.py createsuperuser
Run the project
(venv)$ python3 manage.py runserver
First send a request to the auth-token api, then use the bearer token in every api request.
Any changes are welcome, including front-end system additions.