Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sarkartanmay393/roomreservation-go
Contains a room reservation web application, built using Go, Docker, Bootstrap and PostgreSQL. Need to use `http://` to access the webapp
https://github.com/sarkartanmay393/roomreservation-go
azure bootstrap5 golang javascript web-application
Last synced: 4 days ago
JSON representation
Contains a room reservation web application, built using Go, Docker, Bootstrap and PostgreSQL. Need to use `http://` to access the webapp
- Host: GitHub
- URL: https://github.com/sarkartanmay393/roomreservation-go
- Owner: sarkartanmay393
- Created: 2022-09-17T08:13:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-02T15:37:14.000Z (11 months ago)
- Last Synced: 2024-05-01T19:53:00.744Z (8 months ago)
- Topics: azure, bootstrap5, golang, javascript, web-application
- Language: HTML
- Homepage: http://172.105.56.240/
- Size: 18 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yatra Sahayak
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![LinkedIn][linkedin-shield]][linkedin-url]
Check room availability in desired dates, make reservation and get your
reservation summary in Email. Technically a Golang based Web Application with
Database Interaction.
Explore Code »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
## About The Project
### Built With
- [![Go][Go.dev]][Go-url]
- [![Docker][Docker.com]][Docker-url]
- [![Bootstrap][Bootstrap.com]][Bootstrap-url]
- [![PostgreSQL][PostgreSQL.com]][PostgreSQL-url]### Things I Learned
1. Everything of Basic Web App.
2. Using [**nosurf**](https://github.com/justinas/nosurf) Middleware.
3. Using [**scs**](https://github.com/alexedwards/scs) Session Management.
4. HTML, CSS, JS, Bootstrap etc.
5. Server side validation using Golang.
6. Writing Test Functions in Golang.
7. Interacting with Database using Go.
8. DB Migration using Soda CLI.
9. Setting up Mail server using Go.
10. Sending mail as per user's requirement.### Packages I Used
1. "net/http"
2. "path/filepath"
3. "text/template"
4. "bytes"
5. "[github.com/go-chi/chi](https://github.com/go-chi/chi)"
6. "[github.com/justinas/nosurf](https://github.com/justinas/nosurf)"
7. "[github.com/alexedwards/scs/v2](https://github.com/alexedwards/scs/v2)"
8. "[notie](https://github.com/jaredreich/notie)" (JavaScript)
9. "[datepicker](https://github.com/mymth/vanillajs-datepicker)" (JavaScript)
10. "[github.com/asaskevich/govalidator](https://github.com/asaskevich/govalidator)"
11. "[github.com/xhit/go-simple-mail/v2](https://github.com/xhit/go-simple-mail/v2)"
12. “[soda cli tool](https://gobuffalo.io/documentation/database/soda/)”### Screenshots
Show
Highland Room Outlook![Hinghland Rooms](static/screenshots/highend-room-page.png "Highend Room Page")
Reservation Form Page![](static/screenshots/reservation-form-page.png "Reservation Form Page")
Reservation Summary Page![](static/screenshots/reservation-summary-page.png "Reservation Summary Page")
Reservation Email Outlook![](web/email-template/email-outlook.png "Reservation Email Outlook")
## Getting Started
Running a development environment for this project will be the easiest thing in you day.
### Prerequisites
- [**Go**](https://go.dev/dl/)
- [**Docker**](https://www.docker.com)### Steps to run
- Clone the repository
```zsh
git clone https://github.com/sarkartanmay393/RoomReservation-WebApp.git
```- Run the following command to start everything using Docker
```zsh
docker compose up
```- Execute `web` container on terminal
```zsh
docker exec -it web bash
```- Command you need to pass inside running the container
```bash
soda migrate up
```
> If any issue occured while running the server, just delete the roomreservation image from docker and start the compose again.
## Roadmap
- [x] Web Application
- [x] Styling w/ Bootstrap
- [x] Database
- [x] Email Service
- [ ] New Responsive UI
- [ ] Real Project TransformationSee the [open issues](https://github.com/sarkartanmay393/RoomReservation-WebApp/issues) for a full list of proposed features (and known issues).
## Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -s -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
6. Wait for review## Contact
Your Name - Tanmay Sarkar [@sarkartanmay393](https://twitter.com/sarkartanmay393) - [[email protected]](mailto:[email protected])
Project Link: [https://github.com/sarkartanmay393/RoomReservation-WebApp](https://github.com/sarkartanmay393/RoomReservation-WebApp)
**Thanks for visiting my project. If you like it, please give it a star. It will help me a lot. Thanks again!**
[contributors-shield]: https://img.shields.io/github/contributors/sarkartanmay393/RoomReservation-WebApp.svg?style=for-the-badge
[contributors-url]: https://github.com/sarkartanmay393/RoomReservation-WebApp/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/sarkartanmay393/RoomReservation-WebApp.svg?style=for-the-badge
[forks-url]: https://github.com/sarkartanmay393/RoomReservation-WebApp/network/members
[stars-shield]: https://img.shields.io/github/stars/sarkartanmay393/RoomReservation-WebApp.svg?style=for-the-badge
[stars-url]: https://github.com/sarkartanmay393/RoomReservation-WebApp/stargazers
[issues-shield]: https://img.shields.io/github/issues/sarkartanmay393/RoomReservation-WebApp.svg?style=for-the-badge
[issues-url]: https://github.com/sarkartanmay393/RoomReservation-WebApp/issues
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/tanmaysrkr
[Go.dev]: https://img.shields.io/badge/Go-027d9c?style=for-the-badge&logo=go&logoColor=white
[Go-url]: https://go.dev/
[Docker.com]: https://img.shields.io/badge/Docker-2496ed?style=for-the-badge&logo=docker&logoColor=white
[Docker-url]: https://www.docker.com/
[PostgreSQL.com]: https://img.shields.io/badge/PostgreSQL-4169e1?style=for-the-badge&logo=postgresql&logoColor=white
[PostgreSQL-url]: https://www.postgresql.org/
[Bootstrap.com]: https://img.shields.io/badge/Bootstrap-563D7C?style=for-the-badge&logo=bootstrap&logoColor=white
[Bootstrap-url]: https://getbootstrap.com