https://github.com/daluisgarcia/projects-portfolio-api
API implemented in django to manage projects and technologies to be shown by the frontend
https://github.com/daluisgarcia/projects-portfolio-api
django django-rest-framework docker docker-compose poetry python3
Last synced: 3 months ago
JSON representation
API implemented in django to manage projects and technologies to be shown by the frontend
- Host: GitHub
- URL: https://github.com/daluisgarcia/projects-portfolio-api
- Owner: daluisgarcia
- Created: 2022-11-21T20:25:10.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-03T17:16:10.000Z (almost 2 years ago)
- Last Synced: 2025-05-29T19:43:03.837Z (about 1 year ago)
- Topics: django, django-rest-framework, docker, docker-compose, poetry, python3
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Projects portfolio backend
This project is a REST API that allows to manage projects and their images. The project is developed with Django and Django Rest Framework. This API is being consumed by the [daluisgarcia.github.io](https://github.com/daluisgarcia/daluisgarcia.github.io) repository.
## Install dependencies
To install the dependencies, you can use the following command to install the dependencies in a virtual environment:
```bash
uv sync
```
## Run the project
To run the project, you can use the following command:
```bash
docker-compose up --build
```
If you are developing, you can use the following `docker-compose.override.yaml` file content to allow hot reloading and avoid having to rebuild the image every time you make a change:
```yaml
services:
app:
volumes:
- .:/app/
environment:
- DEBUG=True
- SECRET_KEY=""
- ALLOWED_HOSTS=*
- DJANGO_SUPERUSER_PASSWORD=adminpassword
- DJANGO_SUPERUSER_USERNAME=admin
- DJANGO_SUPERUSER_EMAIL=admin@admin.com
```