https://github.com/geffrerson7/imdb-clone-movies-api
https://github.com/geffrerson7/imdb-clone-movies-api
django django-rest-framework docker drf-yasg postgresql python simple-jwt
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/geffrerson7/imdb-clone-movies-api
- Owner: Geffrerson7
- License: bsd-3-clause
- Created: 2023-05-16T23:47:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-27T17:00:58.000Z (about 2 years ago)
- Last Synced: 2024-03-27T18:25:52.120Z (about 2 years ago)
- Topics: django, django-rest-framework, docker, drf-yasg, postgresql, python, simple-jwt
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IMDB-CLONE-MOVIES-API
## Descripción
API para registrar peliculas.
## Instalación local
Clonar el repositorio
```bash
$ git clone https://github.com/Geffrerson7/IMDB-CLONE-MOVIES-API.git
```
Ir al directorio al proyecto
```bash
$ cd IMDB-CLONE-MOVIES-API
```
Crear un entorno virtual
```sh
$ virtualenv venv
```
Activar el entorno virtual
```sh
# windows
$ source venv/Scripts/activate
# Linux
$ source venv/bin/activate
```
Luego instalar las librerias:
```sh
(env)$ pip install -r requirements.txt
```
Luego, realizamos las migraciones.
```sh
(env) $ python manage.py makemigrations
(env) $ python manage.py migrate
```
Una vez concluido, procedemos a iniciar la app
```sh
(env)$ python manage.py runserver
```
Y navegar a
```sh
http://127.0.0.1:8000/
```
## Instalación en Docker del proyecto
Clonar el repositorio
```bash
$ git clone https://github.com/Geffrerson7/IMDB-CLONE-MOVIES-API.git
```
Ir al directorio al proyecto
```bash
$ cd IMDB-CLONE-MOVIES-API
```
Ejecutar el comando
```sh
$ docker-compose up
```
Y navegar a
```sh
http://127.0.0.1:8000/
```
## Tecnologías y lenguajes utilizados
* **Python** (v. 3.11.2) [Source](https://www.python.org/)
* **Django** (v. 4.2.1) [Source](https://www.djangoproject.com/)
* **Django Rest Framework** (v. 3.14.0) [Source](https://www.django-rest-framework.org/)
* **django-cors-headers** (v. 4.0.0) [Source](https://pypi.org/project/django-cors-headers/)
* **Simple JWT** (v. 5.2.2) [Source](https://django-rest-framework-simplejwt.readthedocs.io/en/latest/)
* **drf-yasg** (v. 1.21.5) [Source](https://drf-yasg.readthedocs.io/en/stable/)
* **psycopg2** (v. 2.9.6) [Source](https://pypi.org/project/psycopg2/)
* **Docker** (v. 3.8) [Source](https://docs.docker.com/)
## Author
- [Gefferson Max Casasola Huamancusi](https://www.github.com/Geffrerson7)