Go-Social-Blogging-App

一个用 Golang 和 Mysql 开发的社交博客应用!「A Social-Blogging App developed with Golang & Mysql!!」

  • 所有者: yTakkar/Go-Social-Blogging-App
  • 平台: Linux, Mac, Windows
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Go-Social-Blogging-App

A Social-Blogging App developed with Golang & Mysql!!

Updated Version

Click here for mini-social-network created with Golang!!

Quick Links

  1. Screenshots
  2. Requirements
  3. Usage

Screenshots

alt text
alt text
alt text
alt text
alt text
alt text
alt text

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. Open PHPMyAdmin, create a db & import db.sql.

  2. Install all the dependencies with npm or Yarn.

npm install

or

yarn
  1. Create a .env file & insert the above code. Replace values with yours!!
PORT=YOUR PORT (default: 2280) [STRING]
SESSION_SECRET=ANYTHING SECRET [STRING]
DB_USER=DB_USER [STRING]
DB_PASSWORD=DB PASSWORD [STRING]
DB=DB YOU JUST CREATE [STRING]
  1. My root folder name is Go-Social-Blog-App, 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 the app.

npm run start
  1. Run the app in browser.
localhost:[PORT] PORT=2280 (By default)

主要指標

概覽
名稱與所有者yTakkar/Go-Social-Blogging-App
主編程語言Go
編程語言JavaScript (語言數: 3)
平台Linux, Mac, Windows
許可證
所有者活动
創建於2017-09-05 10:04:33
推送於2017-11-27 03:24:39
最后一次提交2017-11-27 08:54:38
發布數0
用户参与
星數33
關注者數6
派生數15
提交數29
已啟用問題?
問題數0
打開的問題數0
拉請求數3
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?