It is an API for purchasing online courses.
Clone the repository.
$ https://github.com/Geffrerson7/ONLINE-COURSES-API.git
Go to the project directory.
$ cd ONLINE-COURSES-API
Create a virtual environment.
$ virtualenv venv
Activate the virtual environment.
# windows
$ source venv/Scripts/activate
# Linux
$ source venv/bin/activate
Install the dependencies.
(env)$ pip install -r requirements.txt
Run the migrations.
(env) $ python manage.py makemigrations
(env) $ python manage.py migrate
Run the project
(env)$ python manage.py runserver
And navigate to the route
http://127.0.0.1:8000/
Clone the repository
$ git clone https://github.com/Geffrerson7/ONLINE-COURSES-API.git
Go to the project directory.
$ cd ONLINE-COURSES-API
Run the command
$ docker-compose up
And navigate to the route
http://127.0.0.1:8000/