Famous Parking Lot problem Using Python and Django ver 2.2 Designed by kv
Python 3.4+
A supported version of Django (currently 1.11+)
http://www.your_hostname/api/
http://www.your_hostname/api/parking/
http://www.your_hostname/api/login/
http://www.your_hostname/api/search/
Can only be accessed if logged in Search using car registration number and car color and get output in the form of parking slot, parking level, registration number and color
http://www.your_hostname/api/logout/
Clear all login values
$ pip install django==1.11
Install MySQL and do the modifications below Create a database aps Import aps.sql using
$ mysql -u <mysql_username> -p aps < aps.sql
change MySQL USER:'mysql_username', PASS:'mysql_password', HOST and PORT address in aps/settings [default values: (USER': 'django', 'PASSWORD':'django', 'HOST': 'localhost','PORT': '')]
change directory to home_folder/aps python manage.py makemigrations python manage.py migrate
$ python manage.py createsuperuser
Username (leave blank to use 'default_user'):
Email address:
Password:
Password (again):
Superuser created successfully.
$ python manage.py runserver
Open URL
hostname:8000/
- Kunal Vohra -Owner and Developer- kv
For any suggestions or improvements or other queries write to me kv