hotel-web-app

所属分类:PostgreSQL
开发工具:GO
文件大小:2564KB
下载次数:0
上传日期:2022-02-05 19:38:41
上 传 者sh-1993
说明:  酒店预订系统,带网络gui
(Hotel reservation system, with web gui)

文件列表:
.env.example (55, 2022-02-06)
.idea (0, 2022-02-06)
.idea\hotel-web-app.iml (322, 2022-02-06)
.idea\modules.xml (278, 2022-02-06)
.idea\vcs.xml (180, 2022-02-06)
cmd (0, 2022-02-06)
cmd\web (0, 2022-02-06)
cmd\web\mail.go (717, 2022-02-06)
cmd\web\main.go (3074, 2022-02-06)
cmd\web\main_test.go (141, 2022-02-06)
cmd\web\middleware_test.go (476, 2022-02-06)
cmd\web\routes_test.go (313, 2022-02-06)
config (0, 2022-02-06)
config\config.go (321, 2022-02-06)
controllers (0, 2022-02-06)
controllers\controller.go (19542, 2022-02-06)
controllers\controllers_test.go (1563, 2022-02-06)
controllers\setup_test.go (3656, 2022-02-06)
database.yml.example (357, 2022-02-06)
driver (0, 2022-02-06)
driver\driver.go (757, 2022-02-06)
forms (0, 2022-02-06)
forms\errors.go (261, 2022-02-06)
forms\form_test.go (260, 2022-02-06)
forms\forms.go (2961, 2022-02-06)
go.mod (332, 2022-02-06)
go.sum (18194, 2022-02-06)
migrations (0, 2022-02-06)
migrations\20211114211119_create_create_users_tables.down.fizz (23, 2022-02-06)
migrations\20211114211119_create_create_users_tables.up.fizz (312, 2022-02-06)
migrations\20211114212644_create_create_reservation_tables.down.fizz (30, 2022-02-06)
migrations\20211114212644_create_create_reservation_tables.up.fizz (367, 2022-02-06)
migrations\20211114212943_create_create_rooms_tables.down.fizz (23, 2022-02-06)
migrations\20211114212943_create_create_rooms_tables.up.fizz (123, 2022-02-06)
migrations\20211114213258_create_create_restrictions_tables.down.fizz (30, 2022-02-06)
migrations\20211114213258_create_create_restrictions_tables.up.fizz (137, 2022-02-06)
... ...

# 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: erfanhanifezade@gmail.com

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

近期下载者

相关文件


收藏者