Giter Site home page Giter Site logo

booking's Introduction

预约借用系统

本系统主要是实现场地的预约或者借用,借用者可在前台进行预约申请,管理员可在后台审核预约,同时可以增删改场地和对前台的预约表单进行自定义的新增或者删除,灵活性较强,供有同样需求朋友参考使用。 image image image

说明

  • golang编写,无需任何扩展,编译好后直接可以在各个平台运行。
  • 编写的目的是为了一个简单的功能,也是学习go语言过程中的一次入门练手,有很多不好的地方。
  • 由于时间仓促,只实现了各个基本功能

配置说明

conf/app

appname = bookingSystem
httpport = 8080
runmode = dev

dbHost=127.0.0.1
dbPort=3306
dbUser=root
dbPassword=Aa11882200.
dbName=booking

sessionon = true
EnableAdmin = true

EnableAdmin 是统计功能

安装使用

  1. 安装beego
go get github.com/astaxie/beego

  1. 本项目源码
go get github.com/cnlh/booking
  1. 编译
go build
  1. 初始化数据库
./bookingSystem orm syncdb
  1. 添加一个后台管理员
INSERT INTO `b_user` (`user_name`, `nick_name`, `password`, `salt`, `update_time`) VALUES (`admin`, `admin`, `1add8b1f9a1c52676c1e9281315c366c`, `ac71w`, `2018-11-08 20:39:29.842651 +0800 CST`);

然后用admin 123456即可登陆后台

  1. 运行
./bookingSystem &

后台地址 /auth/login

特别感谢

  • beego
  • layui
  • x-admin 后台模板
  • bootstrap 前台

booking's People

Contributors

cnlh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.