Social Network Web & Mobile App
Social Network Application, Created Iris Go Framework + React Native
Quick Links
- Installation
- Usage
- Requirements
- Screenshots
- Contribution
- Other Projects
Installation
Easy Install
- Run install.sh (Linux & Mac) or install.bat (Windows)
Manuel
- Install Iris and Go ORM Packages manually
go get -u github.com/kataras/iris
go get -u github.com/jinzhu/gorm
-
Install Database Driver
go get -u github.com/go-sql-driver/mysql
go get -u github.com/jinzhu/gorm/dialects/postgres
go get -u github.com/jinzhu/gorm/dialects/mssql
go get -u github.com/jinzhu/gorm/dialects/sqlite
-
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
- Install npm packages
npm install
or
yarn install
Usage
-
Create database for project
-
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"
- Run application
go run main.go
- Enjoy!
Requirements
- Make sure you keep this project inside
src/
of your Golang project folder ($GOPATH).
- Following packages should be installed.
- iris
- checkmail
- Gorm
- bcrypt
- sessions
- 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 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