repositorypackage
0.0.0-20241128141208-09688dc434b6
Repository: https://github.com/dupyeye/go-htmx.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
GO Backend API with HTMX and TailwindCSS
Boilerplate for a GO backend API with HTMX and TailwindCSS
Features
- GO Backend API
- HTMX
- TailwindCSS
- Docker
Instructions
- Clone the repository
- For local use:
- Populate the
.env
file with the necessary environment variables based on .env.example - Run the following command to initialize the database:
./scripts/migrate_up.sh
- Run the following command to start the server:
go run .
- Access the server at
http://localhost:<PORT>
- Populate the
- For Docker use:
- Populate the
.env
file with the necessary environment variables based on .env.example - Run the following command to initialize the database:
./scripts/migrate_up.sh
- Run the following command to start the server:
docker-compose up
- Access the server at
http://localhost:<PORT>
- Populate the
API Endpoints
api/users
- TODO: Add more API endpoints
Checks
Author
- dupp