Golang 用户系统

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

Github stars Tracking Chart

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!!

Main metrics

Overview
Name With OwneryTakkar/Go-User-System
Primary LanguageGo
Program languageGo (Language Count: 4)
Platform
License:
所有者活动
Created At2017-07-12 19:13:25
Pushed At2017-10-05 16:36:51
Last Commit At2017-10-05 22:06:38
Release Count0
用户参与
Stargazers Count26
Watchers Count6
Fork Count10
Commits Count35
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count5
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private