Skip to content

Commit 53985d3

Browse files
author
Bobur Yusupov
committed
Price
1 parent 842d551 commit 53985d3

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Booking-API (Booking appointment is now easier)
22

3-
##### Thank to [Django](https://www.djangoproject.com/) and [Django REST Framework](https://www.django-rest-framework.org/). This API is created using these two Python Frameworks. DRF Spectacular allows Frontend Developers to understand the documentation of the Booking-API.
3+
## Thank to [Django](https://www.djangoproject.com/) and [Django REST Framework](https://www.django-rest-framework.org/). This API is created using these two Python Frameworks. DRF Spectacular allows Frontend Developers to understand the documentation of the Booking-API
44

55
<h5 style="color:rgb(30,150,150);">Booking-API help to book from the following services</h5>
66

@@ -14,7 +14,7 @@
1414
### How to start
1515

1616
1. Clone the Repository from GitHub and enter into repo from command line
17-
17+
1818
```
1919
git clone https://github.com/dev-yusupov/booking-api.git
2020
cd booking-api
@@ -34,18 +34,19 @@ python manage.py migrate
3434
```
3535

3636
3. Run server
37-
37+
3838
```
3939
python manage.py runserver
4040
```
4141

42-
4342
### Accounts App
43+
4444
Contain User model inherited from AbstractUser
4545

4646
Also contains two forms: CustomUserCreationForm(UserCreationForm) and CustomUserChange(UserChangeForm)
4747

4848
##### Contains following lines - for Bookers (create_user)
49+
4950
```
5051
first_name CharField (max_length - 50)
5152
last_name CharField (max_length - 50)
@@ -56,6 +57,7 @@ is_user Boolean (default=True)
5657
```
5758

5859
##### Contains following lines - for Taxi drivers (create_user_taxi)
60+
5961
```
6062
first_name CharField (max_length - 50)
6163
last_name CharField (max_length - 50)
@@ -66,9 +68,10 @@ is_taxi Bool (default=True)
6668
car_size Charfield(choices=['small', 'medium', 'big'])
6769
```
6870

69-
7071
### Taxi app
72+
7173
This app allows to make orders to the users of Booking-API app
74+
7275
```
7376
user ForeignKey
7477
user_name Charfield
@@ -81,4 +84,11 @@ is_business Boolean
8184
is_premium Boolean
8285
```
8386

84-
# Models of other apps will be ready after the release of first version
87+
This app also has a calculator which help to calculate price of order using <i>geopy</i> library.
88+
89+
To install <i>geopy</i> type the following command to CMD:
90+
```
91+
pip install geopy
92+
```
93+
94+
### Models of other apps will be ready after the release of first version

0 commit comments

Comments
 (0)