Golang 用户系统

使用 Golang 创建的用户系统。使用 Golang 真的很有趣!!「User System created with Golang. It's really fun with Golang!! 🙋🙇🙌🤝👀」

Github星跟踪图

Golang User System

User System created with Golang. It's really fun with Golang. Don't believe me? Go ahead & use it by yourself!! ???

Updated version

Visit this for single-page user-system with React & Golang!!

Requirements

  1. Make sure you keep this project inside src/ of your Golang project folder.
  2. Following packages should be installed.
    1. httprouter
    2. negroni
    3. checkmail
    4. MySQL driver
    5. bcrypt
    6. sessions
    7. godotenv

Usage

  1. First install all the dependencies.
npm install 
OR 
yarn
  1. Open PHPMyAdmin, create a db & import db.sql.
  2. Create a .env file & insert the following code. Repalce values with yours.
PORT=PORT (default= 1100)  [STRING]
DB_USER=DB USER [STRING]
DB_PASSWORD=DB PASSWORD [STRING]
DB=DB YOU JUST CREATED [STRING]
  1. My root folder name is Go-User-System, if yours is different then go ahead & change it as it used for imports. It can be done easily by searching the whole project.

  2. Now run it.

    go run main.go
    
  3. Run the app in browser.

    localhost:[PORT] PORT=1110 (By default)
    
  4. Enjoy!!

主要指标

概览
名称与所有者yTakkar/Go-User-System
主编程语言Go
编程语言Go (语言数: 4)
平台
许可证
所有者活动
创建于2017-07-12 19:13:25
推送于2017-10-05 16:36:51
最后一次提交2017-10-05 22:06:38
发布数0
用户参与
星数26
关注者数6
派生数10
提交数35
已启用问题?
问题数0
打开的问题数0
拉请求数5
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?