https://github.com/victor-zarzar/micro-service-ts
https://github.com/victor-zarzar/micro-service-ts
docker docker-compose fastapi material-ui nextjs python react sqlite tailwindcss typescript
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/victor-zarzar/micro-service-ts
- Owner: Victor-Zarzar
- Created: 2024-10-02T09:42:15.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-02-11T23:59:01.000Z (4 months ago)
- Last Synced: 2025-02-12T00:29:26.473Z (4 months ago)
- Topics: docker, docker-compose, fastapi, material-ui, nextjs, python, react, sqlite, tailwindcss, typescript
- Language: TypeScript
- Homepage:
- Size: 531 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Microservice TS (Application Full Stack)
🤖 Stack:
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
- TypeScript
- React
- React ContextAPI (Login, Logout, State Management)
- Html
- TailWind CSS
- Next.js 15
- Material UI
- Pnpm
- Eslint
- Docker
- Docker-Compose
- Dark Mode - Next Themes
- Next Intl Translate EN/PT-BR/ES
- Python (Backend)
- FastApi
- SQLite (DB)
- Pydantic
- Uvicorn
- Pytest
⚙️ How to install:
Project Clone
git clone https://github.com/Victor-Zarzar/micro-service-TS
Enter in directory:cd micro-service-TS
Enter in directory:
cd Frontend
Create .env in project root directory (Frontend):
API_FRONT_HOST="http://localhost:3000"
Enter in directory:
cd Backend
And create settings.toml in root directory (Backend):
name = "micro-service"
#[database]
#host = "example"
#db = "example"
#user = "example"
#pass = ""[database]
host = "example"
db = "example"
user = "example"
pass = "example"
[security]
jwt_secret_key = "example..."
api_admin_pass = "example..."[api]
api_allow_origins = "*"Enter in directory:
cd micro-service-TS
With docker and docker-compose installed, the following command moves up the stack:
make up
Starting the project Frontend:
localhost:3000
Starting the project Backend:
localhost:8000/docs
Clear the stack:
make clean
For the stack:
make down