Skip to content

Anilturaga/fasthtml-starter-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastHTML Starter Template

This is a simple starter template for creating a webapps using FastAPI.

Features

  • username based authentication and protected routes
  • DaisyUI, TailwindCSS and Lucide icons for styling through MonsterUI

Installation

  1. Clone the repository
  2. Create a virtual environment
python -m venv .venv
  1. Install the dependencies
pip install -r requirements.txt
  1. Run the app
uvicorn main:app --reload

Change theme

DaisyUI provides a lot of themes. Change to appropriate theme by modifying the tailwind.config attribute and the input of fast_app in main.py.

Folder Structure

├── README.md
├── auth
│   └── loginHandler.py
├── backend
│   └── index.py
├── main.py
├── pages
│   ├── components
│   │   ├── header.py
│   │   └── loginDialogIndex.py
│   └── index.py
├── pyproject.toml
├── requirements.txt
└── utils.py

Resources

Note: This is a simple starter template and is not production ready. Use it as a starting point for your projects.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages