-
Git clone
git clone https://github.com/kofnet002/SW.git -
cd to the project directory
-
Install the necessary dependencies
pip install requirements.txt -
Create ".env" file in the project directory and configure the following environment.
a. SCRETE_KEY = "any secret you want/ example: any random strings of words"
b. TWILIO_ACCOUNT_SID = "will be provided in the report"
c. TWILIO_AUTH_TOKEN = "will be provided in the report"
d. TWILIO_PHONE_NUMBER = "will be provided in the report"
e. COUNTRY_CODE = "+233"
-
The application is configured with PostgreSQL from railway platform
-
Time to make migrations,
python manage.py makemigrations -
Apply the migration
python manage.py migrate
- APPLICATION END POINTS
- 'client-register/' - To register clients
- 'worker-register/' - To register workers
- 'verify-otp/' - To verify users
- 'clients/' - To show all clients
- 'workers/' - To show all workers
- 'services/' - To show all services provided by the workers
- 'mybookings/' - To show all the available bookings by the clients