Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sethetter/go-web-starter
https://github.com/sethetter/go-web-starter
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sethetter/go-web-starter
- Owner: sethetter
- Created: 2022-05-26T03:16:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-26T03:17:49.000Z (over 2 years ago)
- Last Synced: 2024-06-21T04:53:18.691Z (5 months ago)
- Language: Go
- Size: 81.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-web-starter
An opinionated web app starting point.
## Tools
- Go server-rendered pages, backed by Postgres
- Web framework: [Gin](https://gin-gonic.com)
- Validations: [govalidator](https://github.com/asaskevich/govalidator)
- Query building: [sqlx](http://jmoiron.github.io/sqlx/) and [squirrel](https://github.com/Masterminds/squirrel)
- Minimal CSS, no frameworks
- Frontend interactivity with [htmx](http://htmx.org)## Security
- [Cross-site request forgery (CSRF)](https://developer.mozilla.org/en-US/docs/Glossary/CSRF)
- [Cross-origin resource sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)
- A bunch of other security headers
- [HTTP strict transport security (HSTS)](https://developer.mozilla.org/en-US/docs/Glossary/HSTS)
- [Content security policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy)
- [Mime type sniffing](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options)
- [Frame blocking](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options)
- [Cross origin resource policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy)
- [Cross origin opener policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy)## Features
- Session handling
- Basic email service
- Passwordless login