Skip to content

Spyro000/ml-ai-app-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI App Template

A ready-to-use template for building AI applications. I created it for myself to streamline the process of creating apps more easily—both for internal setup and online deployment. I hope you find it useful as well.

It features a FastAPI backend and a Vue 3 frontend, styled with Tailwind CSS and daisyUI. It supports hot reload for both the backend and frontend, and comes with full Docker support for easy development.

Backend

  • FastAPI

Frontend

  • Vue 3
  • Tailwind CSS
  • daisyUI

Docker

  • Dockerfiles for both frontend and backend
  • docker-compose.yml for development

Getting Started (Development)

At the moment, the template is set up only for development. A guide for publishing will be added in the future.

Requirements

  • Docker & Docker Compose
  • (Alternatively) Python 3.12+ and Node.js 22+

Quick Start with Docker

Start Docker containers (from the root folder):

docker compose up -d

Visit:

Stop Docker containers:

docker compose down

Manual Setup

Backend

cd backend
python -m venv .venv
source .venv/bin/activate  # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8000 --reload

Frontend

cd frontend
npm install
npm run dev

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please open issues or share your suggestions to help improve the template.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published