A lightning-fast URL shortener showcasing the power of modern web technologies. Originally built with Flask, now evolved into a robust FastAPI backend with a sleek Astro.js + React frontend.
- High-performance Python web framework
- Async support for better scalability
- Modern API design with automatic OpenAPI documentation
- Type hints and data validation
- Built with Astro.js for optimal performance
- React components for interactive elements
- Tailwind CSS for modern styling
- Responsive and accessible design
- Quick and efficient URL shortening
- Clean and intuitive user interface
- Copy-to-clipboard functionality
- Automatic HTTPS handling
- Server-side rendering with Astro.js
- Fast API responses with FastAPI
- Optimized database queries
git clone https://github.com/imprvhub/bolted-python.git
cd bolted-python/backend
pip install -r requirements.txt
cp .env.example .env
cd ../bolted-frontend
npm install
npm run dev
DATABASE_HOST=your_host
DATABASE_USERNAME=your_username
DATABASE_PASSWORD=your_password
DATABASE_NAME=your_database
HASHIDS_SALT=your_salt
CORS_ORIGINS=http://localhost:4321
PUBLIC_API_URL=http://localhost:8000
This project evolved from a monolithic Flask application to a modern, decoupled architecture:
Current implementation features:
- Separation of concerns
- Enhanced performance
- Modern development experience
- Improved maintainability
Submit a Pull Request for contributions. For major changes, open an issue first to discuss proposed changes.
Create an issue with detailed information about bugs or feature requests.
See User Agreement Section for licensing details.