Skip to content

JehanneDussert/app-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app-toolkit

Basic frontend and backend for faster launch of new repositories.

Frontend

General

🔋 Stack: TypeScript, React, Tailwind

💅 Code formatter: prettier

📚 Libraries

Using vite template:

npm create vite@latest my-app -- --template react-ts

Usage

💅 Format your files:

npm run format

💻 Dev mode:

npm run dev

In an other terminal run tailwind for CSS:

npx tailwindcss -i ./src/style/input.css -o ./src/style/output.css --watch

🏗️ Build mode:

npm run build

🐋 Dockerize:

docker build -t frontend:latest .
docker run -p 3000:3000 frontend

Backend

General

🔋 Stack: Python, FastAPI, SQLite

📚 Libraries

Usage

uvicorn main:app --reload

Dockerize:

docker build -t backend:latest .
docker run -p 8000:8000 backend