Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erfidev/hotel-web-app
Hotel reservation system, with web gui
https://github.com/erfidev/hotel-web-app
css go html http http-server postgresql sequel sql sql-driver templates
Last synced: about 5 hours ago
JSON representation
Hotel reservation system, with web gui
- Host: GitHub
- URL: https://github.com/erfidev/hotel-web-app
- Owner: ErfiDev
- Created: 2021-10-24T21:14:27.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-05T19:38:41.000Z (almost 3 years ago)
- Last Synced: 2024-06-20T12:39:17.540Z (5 months ago)
- Topics: css, go, html, http, http-server, postgresql, sequel, sql, sql-driver, templates
- Language: Go
- Homepage:
- Size: 5.24 MB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hotel web application
### Getting start
if you want to use in development mode
first of all set the database name and pass with defualt
value (see in app files and codes)
and if you want to use in production mode
set -dbname -dbuser -dbpass and -dbport flags when
you run the app```
git clone https://github.com/ErfiDev/hotel-web-app.git
cd hotel-web-app
./run.bat
```### Authentication method
in this application I use the session-based authentication
with scs package
and CSRF token for authenticate POST method requests### Enviroment variables
if see the .env.example file you can see all neccesary variables and then create a .env file and set all of those
then see the .yml.example file and create database.yml file and set all neccesary variables### Created by
developer: [email protected]
go programming language and std libraries
scs, nosurf and godotenv pkg
postgresql database
soda cli tool
pgx connection for postgresql connection
### Contribute Section
if you're interested for adding some feature or fixing bug
can create a pull request and i am merge that, thanks