Skip to content

sethstenzel/mti-sites-sparklets.im

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sparklets.im

Website for making and sending QR code based message cards.

Project Structure

This is a full-stack application with:

  • Frontend: Vue 3 + Vite (in /frontend)
  • Backend: FastAPI + Python (in /backend)
sparklets.im/
├── backend/           # FastAPI backend
│   ├── main.py       # Main application entry point
│   ├── pyproject.toml # Python dependencies (managed by uv)
│   └── README.md     # Backend documentation
├── frontend/         # Vue 3 frontend
│   ├── src/          # Vue source code
│   ├── package.json  # Node dependencies
│   ├── vite.config.js # Vite configuration
│   └── README.md     # Frontend documentation
├── .gitignore
├── .env.example
└── README.md

Quick Start

Backend Setup

  1. Navigate to the backend directory:
cd backend
  1. Install dependencies using uv:
uv sync
  1. Run the development server:
uv run python main.py

The API will be available at http://localhost:8000

Frontend Setup

  1. Navigate to the frontend directory:
cd frontend
  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev

The application will be available at http://localhost:5173

Development

The frontend is configured to proxy API requests to the backend. Requests to /api/* will be forwarded to http://localhost:8000.

Tech Stack

Backend:

  • FastAPI
  • Python 3.11+
  • Uvicorn (ASGI server)
  • Pydantic (data validation)
  • uv (package management)

Frontend:

  • Vue 3 (Composition API)
  • Vite (build tool)
  • Vue Router (routing)
  • Pinia (state management)
  • Axios (HTTP client)

Environment Variables

Copy .env.example to .env and configure as needed:

cp .env.example .env

License

MIT

About

Website for making and sending qr code based message cards.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors