Hotel Bookings and reservations is a Web Application project, self toucht through Udemy
Built in Go version 1.21.4
Run: $ go run cmd/web/main.go cmd/web/middleware.go cmd/web/route.go Run: $ ./run.sh
Uses the chi router(https://github.com/go-chi/chi/) router for HTTP services
-->go get -u github.com/go-chi/chi/v5
Use SCS(https://github.com/alexedwards/scs/v2) session management
-->got get -u github.com/alexedwards/scs/v2
Uses nosuft(https://github.com/justinas/nosurf) CSRF protection middleware
-->go get -u github.com/justinas/nosurf
Uses Notie(https://github.com/jaredreich/notie) clean and simple notification popup
Stylesheet: <link rel="stylesheet" type="text/css" href="https://unpkg.com/notie/dist/notie.min.css">
Javascript: <script src="https://unpkg.com/notie"></script>
Uses SweetAlert2(https://sweetalert2.github.io/) beautiful, responsive, customizable popup boxes
JavaScript: <script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
Uses govalidator(https://github.com/asaskevich/govalidator) A package of validators and sanitizers for strings, structs and collections
-->go get github.com/asaskevich/govalidator
Uses the Buffalo (https://github.com/gobuffalo/pop/) framework for building web applications and go
-->go get github.com/gobuffalo/pop/...
-->brew install gobuffalo/tap/pop
-->go install github.com/gobuffalo/pop/v6/soda@latest
Uses PGX PostGreSQl drivers (https://github.com/jackc/pgx)
-->go get github.com/jackc/pgconn
-->go get github.com/jackc/pgx/v5/
The best way to send emails in Go with SMTP Keep Alive and Timeout for Connect and Send
-->*go get github.com/xhit/go-simple-mail/v2
Making Emails Suck Less - Lesson 132
--> Download https://get.foundation/emails.html
Hotel Bookings is a Web Application project and self learning through Udemy..