Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imantung/fullstack-golang-example

Fullstack golang project with echo, tailwindcss and alpinejs
https://github.com/imantung/fullstack-golang-example

Last synced: 15 days ago
JSON representation

Fullstack golang project with echo, tailwindcss and alpinejs

Awesome Lists containing this project

README

        

# Fullstack Golang Example

Example project to explore best practices for full stack website in Golang.

## Prerequisite

- Programming Language: [Go](https://go.dev/)
- Task Manager/Build-Tool: [GoTask](https://taskfile.dev/)
- Live reload for Go Apps: [Air](https://github.com/air-verse/air)

```bash
# For Mac
brew install go
brew install go-task
go install github.com/air-verse/air@latest
```

## Getting Started
```bash
task --list-all # Show available tasks
task run # Run the project
task watch # Watch CSS/JS
```

## Tech Overview

- [Echo Framework](https://echo.labstack.com/)
- Standard `html/template` package
- [TailwindCSS](https://tailwindcss.com/)
- [AlpineJS](https://alpinejs.dev/)
- [TypeScript](https://www.typescriptlang.org/)

## Project Checklist

- [x] Live reload
- [x] Nested templates (by project folder)
- [x] Watch CSS/JS
- [x] Custom Error Page
- [x] Go embed
- [ ] Session
- [ ] Database operation

## Author

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details