Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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