An open API service indexing awesome lists of open source software.

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

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