A mini social-network created with the awesome Golangππ!! - No longer maintained.
MIT License
A mini Social-Network created with the awesome Golangππ!!
No longer maintained. But it works
$GOPATH/src
folder.Open PHPMyAdmin, create a db & import db.sql
.
Install dependencies.
# golang deps
dep ensure
# JS deps (either with npm or with Yarn)
npm install [or] yarn
.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]
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.
Now run the app.
npm start [or] yarn start
localhost:[PORT] PORT=4907 (By default)
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]