https://github.com/grbeno/todo-crud
Todo CRUD Sample
https://github.com/grbeno/todo-crud
django-rest-framework docker nginx react
Last synced: 3 months ago
JSON representation
Todo CRUD Sample
- Host: GitHub
- URL: https://github.com/grbeno/todo-crud
- Owner: grbeno
- License: mit
- Created: 2025-05-28T17:03:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-29T20:46:46.000Z (about 1 year ago)
- Last Synced: 2025-06-11T16:40:23.025Z (about 1 year ago)
- Topics: django-rest-framework, docker, nginx, react
- Language: JavaScript
- Homepage:
- Size: 1000 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Todo CRUD Sample
[]() []() []() []() []() []()
### :hammer: Set environment variables
#### backend/.env
```
SECRET_KEY=
DEBUG=True
SSL_REQUIRE=False
```
#### frontend/.env
```
VITE_URL='http://localhost:8000/api'
```
### :rocket: Run the application with Docker
#### Build and run Docker images
```
docker-compose build
```
```
docker-compose up
```
#### Remove containers
```
docker-compose down
```
#### Run Django tests
```
docker-compose run --rm -e RUN_TESTS=1 backend
```
### :computer: Django backend development
#### Setup and activate the virtual environment
```
python -m venv venv
```
```
venv\scripts\activate
```
#### Install a dependency
```
pip install ==
```
#### Update the dependency list
```
pip freeze > requirements.txt
```