ONLINE-COURSES-API
Description
It is an API for purchasing online courses.
ERD
Local Installation
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/
Project installation in Docker
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/
Technologies y programming languages
- Python (v. 3.11.2) Source
- Django (v. 4.2.1) Source
- Django Rest Framework (v. 3.14.0) Source
- django-cors-headers (v. 4.0.0) Source
- Simple JWT (v. 5.2.2) Source
- drf-yasg (v. 1.21.5) Source
- mercadopago (v. 2.2.0) Source