Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dwisulfahnur/blog-fastapi-vuejs
Simple project that I write using fastapi, motor, and umongo for the backend. VueJS on the frontend
https://github.com/dwisulfahnur/blog-fastapi-vuejs
fastapi mongodb motor python umongo vuejs
Last synced: about 2 months ago
JSON representation
Simple project that I write using fastapi, motor, and umongo for the backend. VueJS on the frontend
- Host: GitHub
- URL: https://github.com/dwisulfahnur/blog-fastapi-vuejs
- Owner: dwisulfahnur
- Created: 2020-02-23T17:43:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T20:01:02.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T14:13:00.782Z (5 months ago)
- Topics: fastapi, mongodb, motor, python, umongo, vuejs
- Language: Vue
- Homepage:
- Size: 6.54 MB
- Stars: 87
- Watchers: 3
- Forks: 16
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-starred-test - dwisulfahnur/blog-fastapi-vuejs - Simple project that I write using fastapi, motor, and umongo for the backend. VueJS on the frontend (Vue)
README
# Blog API with FastAPI
Simple project that I write using fastapi, motor, and umongo for the backend. VueJS on the frontend.
----------------------------
## Commands### Run
Run the app using the following command:```
docker-compose up -d --build
# or
make up
```### Remove container
remove container```
docker-compose down
# or
make down# delete all previous containers and volume included
docker-compose down -v --remove-orphans
# or
make down-all
```### Log Monitor
Monitor log for all services (mongodb, backend/api, frontend/vuejs)
```
docker-compose logs -f
# or
make logs
```Monitor log for backend service only
```
docker-compose logs -f backend
# or
make logs-backend
```### Run Test for the backend service
```
docker-compose exec backend pytest
# or
make test-backend
```----------------------------
The API Documentation url:
http://127.0.0.1:8000/docsThe Blog:
http://127.0.0.1:8080