Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ralph-souza/catalog_api
This project objective is to create a personal items catalog which includes things such as books, games, videos, etc. It uses Python as backend, docker for encapsulation, and others technologies.
https://github.com/ralph-souza/catalog_api
django django-rest-framework docker docker-compose postgresql python
Last synced: 18 days ago
JSON representation
This project objective is to create a personal items catalog which includes things such as books, games, videos, etc. It uses Python as backend, docker for encapsulation, and others technologies.
- Host: GitHub
- URL: https://github.com/ralph-souza/catalog_api
- Owner: Ralph-souza
- License: mit
- Created: 2024-09-13T19:44:47.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-19T14:53:13.000Z (2 months ago)
- Last Synced: 2024-10-10T16:21:54.000Z (about 1 month ago)
- Topics: django, django-rest-framework, docker, docker-compose, postgresql, python
- Language: Python
- Homepage:
- Size: 543 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CATALOG_API
Simple personal items catalog API that provides a CRUD structure for items and loan info registration.
## USAGE
In order to **RUN** this application you must:
Build the image
```
$ docker build -t catalog-image:latest .
```To **RUN** the container use the following command:
```
$ docker-compose up
```Then open a second terminal to access the container by running the following command:
```
$ docker exec -it catalog-api bash
```Once inside the container **RUN** Django model migration command as the example bellow:
```
$ ./manage.py makemigrations
``````
$ ./manage.py migrate
```## DATABASE STRUCTURE
![Data Base Diagram](./docs/item_catalog.svg)