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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?