https://github.com/klrfl/mekdi
Go web application with templates.
https://github.com/klrfl/mekdi
go htmx-app
Last synced: 5 months ago
JSON representation
Go web application with templates.
- Host: GitHub
- URL: https://github.com/klrfl/mekdi
- Owner: Klrfl
- License: mit
- Created: 2024-02-22T07:44:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-18T04:20:49.000Z (about 1 year ago)
- Last Synced: 2025-06-18T04:34:36.010Z (about 1 year ago)
- Topics: go, htmx-app
- Language: Go
- Homepage:
- Size: 74.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mekdi
A small web app with HTML views, made with Go and PostgreSQL, and a little help
from HTMX for the frontend.
## Development
To develop locally first you need to [install Go](https://go.dev/dl) and
[PostgreSQL](https://www.postgresql.org/download/) on your machine.
First copy the .env.example and rename the new file to `.env`. Fill the file with
the appropriate data. Then you can recover the database from the dump file at the
project root (`mekdi.sql`), and make sure PostgreSQL is also running (`sudo service
postgresql start` for Linux).
After getting all dependencies, you can run the development server via the
commands below:
```bash
go mod tidy
go run .
```
The dev server will start in `localhost:8080`.