https://github.com/blakepro/vue-djangorest-docker-nginx
Example of VueJs, Django, Django Rest Framework, Postgres and Nginx
https://github.com/blakepro/vue-djangorest-docker-nginx
django-rest-framework djnago nginx nginx-proxy postgres vuejs
Last synced: 3 months ago
JSON representation
Example of VueJs, Django, Django Rest Framework, Postgres and Nginx
- Host: GitHub
- URL: https://github.com/blakepro/vue-djangorest-docker-nginx
- Owner: BlakePro
- Created: 2021-06-05T04:58:32.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-12T02:09:11.000Z (about 3 years ago)
- Last Synced: 2025-01-15T07:12:09.250Z (5 months ago)
- Topics: django-rest-framework, djnago, nginx, nginx-proxy, postgres, vuejs
- Language: JavaScript
- Homepage:
- Size: 730 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
How to use VueJs, Django, Django Rest Framework, Postgres and Nginx
Cristian Yosafat Hernández Ruiz
![]()
# FrontEnd (VueJS) Docker Compose
## You need to run FrontEnd and BackEnd CLI
```sh
cd front && docker-compose up
```Open [http://localhost:8081](http://localhost:8081) with your browser to see the app
# BackEnd (Django, Django Rest Framework, Postgres, Nginx) Docker Compose
```sh
cd back && docker-compose up
```Api BackEnd [http://localhost:1337](http://localhost:1337)
### Debug FrontEnd
```sh
yarn serve
```### Debug BackEnd
```sh
python3 manage.py makemigrations app
python3 manage.py migrate app
python3 manage.py runserverdocker-compose run app python3 manage.py makemigrations app
docker-compose run app python3 manage.py migrate app
docker-compose up
```
![]()