Skip to content

Victor-Zarzar/micro-service-TS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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