Skip to content

A mini social-network created with the awesome Golang💖💖!!

License

Notifications You must be signed in to change notification settings

recoilme/Go-Mini-Social-Network

 
 

Repository files navigation

Go-Mini-Social-Network

A mini Social-Network created with the awesome Golang💖💖!!

Another Versions

React Version

Vue Version

Ruby On Rails Version

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 $GOPATH/src folder.

Usage

  1. Open PHPMyAdmin, create a db & import db.sql.

  2. Install dependencies.

# golang deps
dep ensure

# JS deps (either with npm or with Yarn)
npm install [or] yarn
  1. Create a .env file & insert the following 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-Mini-Social-Network, if yours is different then go ahead & change it on imports. It can be done easily by searching the whole project.

  2. Now run the app.

npm start [or] yarn start
  1. Run the app in browser.
localhost:[PORT] PORT=4907 (By default)
  1. Enjoy 💖💖!!

About

A mini social-network created with the awesome Golang💖💖!!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Go 35.4%
  • HTML 27.6%
  • CSS 24.8%
  • JavaScript 12.2%