Core backend for "The Wash Directory" – a car wash management and directory service.
- Car Wash Management: Start a new car wash and track its status.
- User & Washer Profiles: Model washer profiles, including service details and availability, linked to user accounts.
- REST API: Built using Gin for handling HTTP requests.
- Templating & Static Assets: Templating for UI and Tailwind CSS for styling.
- Database Support: PostgreSQL connection for persistent storage (see
atlas.hcl
for setup). - Live Development: Integrated with Air for Go live reloading, Templ for HTML templating, and Tailwind CSS for styles.
- Go 1.21+
- PostgreSQL
- Node.js & npm (for Tailwind CSS)
- Air (for live reload)
- Templ (for template watching)
# Install dependencies
go mod tidy
# Set up and migrate your Postgres DB (adjust connection string as needed)
atlas migrate apply -u 'postgres://user:password@localhost:5432/directory_core?sslmode=disable'
# Start all dev tasks (Air, Templ, Tailwind) in parallel
make dev