Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 928 Bytes

README.md

File metadata and controls

37 lines (19 loc) · 928 Bytes

Introduction

This is a mini social network created with golang, gorilla/mux and gorm. I built this to get more familiar with the Go language. I also decided to use go template just to get familiar with them. I'll probably go with rest apis for future projects. I intend to do some refactoring later on, but the functionalities are currently working. Inspiration gotten from yTakkar's .

Requirements

Go - from v1.2

PostgreSQL - from v10

Setup

  • Before setup, you must have PostgreSQL on your machine. Then clone this repository

    https://github.com/Parvezkhan0/go-social-network.git

  • cd into the project directory

    cd go-social-network

  • Set environment variables

    • A sample is presented in the repository.

    cp .env.example .env

  • Run application

    go run main.go