Skip to content

Anticks/wash-directory-core

Repository files navigation

wash-directory-core

Core backend for "The Wash Directory" – a car wash management and directory service.

Features

  • 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.

Quickstart

Prerequisites

  • Go 1.21+
  • PostgreSQL
  • Node.js & npm (for Tailwind CSS)
  • Air (for live reload)
  • Templ (for template watching)

Development Workflow

# 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published