go-social-app

command module
v0.0.0-...-1303b49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2018 License: MIT Imports: 5 Imported by: 0

README

Social Network Web & Mobile App

Social Network Application, Created Iris Go Framework + React Native

  1. Installation
  2. Usage
  3. Requirements
  4. Screenshots
  5. Contribution
  6. Other Projects

Installation

Easy Install
  1. Run install.sh (Linux & Mac) or install.bat (Windows)
Manuel
  1. Install Iris and Go ORM Packages manually
go get -u github.com/kataras/iris
go get -u github.com/jinzhu/gorm
  1. Install Database Driver

    • For MySQL
    go get -u github.com/go-sql-driver/mysql
    
    • For PostgreSQL
    go get -u github.com/jinzhu/gorm/dialects/postgres
    
    • For Microsoft SQL Server
    go get -u github.com/jinzhu/gorm/dialects/mssql
    
    • For Sqlite
    go get -u github.com/jinzhu/gorm/dialects/sqlite
    
  2. Install other packages

go get -u golang.org/x/crypto/bcrypt
go get -u github.com/gorilla/sessions
go get -u github.com/joho/godotenv
go get -u github.com/badoux/checkmail
  1. Install npm packages
npm install

or

yarn install

Usage

  1. Create database for project

  2. Edit .env file

PORT="Application Port"
DB_PORT="Database Port"
DB_HOST="Database Host"
DB_USER="Database Username"
DB_PASSWORD="Database Passowrd"
DB="Database Name"
DB_TYPE="Database Provider Name"
SESSION_HASH_SECRET="Session Hash Secret"
SESSION_BLOCK_SECRET="Session Block Secret"
  1. Run application
go run main.go
  1. Enjoy!

Requirements

  1. Make sure you keep this project inside src/ of your Golang project folder ($GOPATH).
  2. Following packages should be installed.
    1. iris
    2. checkmail
    3. Gorm
    4. bcrypt
    5. sessions
    6. godotenv

Screenshots

Coming soon

Contribution

  • If you want to contribute to codes, create pull request
  • If you find any bugs or error, create an issue

License

This project is licensed under the MIT License

Other Projects

Aktuel Listesi

Aktuel Listesi

Aktuel Listesi is smart shopping center product follower. It's mobile application project with backend. Developed with ASP.NET Core Web API and React Native

Backend: https://github.com/peacecwz/aktuel-listesi

Mobile App: https://github.com/peacecwz/aktuel-listesi-app

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL