An open API service indexing awesome lists of open source software.

https://github.com/nathanielrand/goblog

GoBlog: Private blogging template powered by Go
https://github.com/nathanielrand/goblog

authentication cli crud css encryption git go golang google-cloud-platform hashing html javascript linux material-design materialize-css rest restful restful-webservices ubunutu website

Last synced: 16 days ago
JSON representation

GoBlog: Private blogging template powered by Go

Awesome Lists containing this project

README

          

Nathaniel Rand ©2017-2018

GoBlog: A blog template built using Go.
Images, Videos, Microposts, Broadcasts

----------------------------------
ENVIRONMENT

- Cloud9 Web IDE (Ubuntu)

TECHNOLOGY

- HTML5
- CSS3
--- Materialize CSS
- JavaScript
- GO 1.9.3 linux/amd64
--- Gorilla Toolkit
- GNU bash 4.3.11 (x86_64-pc-linux-gnu)
- PostgreSQL 9.3.13
- Google App Engine

----------------------------------
PROJECT DETAILS

- Account CRUD
- Login / Logout
-- Front-end validation
-- Back-end validation
-- Cookies
-- Salt & Pepper Hashing
- Password Reset (coming soon)
- Micropost CRUD
- Image CRUD
- Video CRUD
- Broadcast CRUD (coming soon)

----------------------------------
RUN APPLICATION / CONFIGURATION

--- Run Application
1. Start PostgreSQL DB
2. Edit Environment Variables
3. Start "Fresh" dynamic-reloader

--- (Start PostgreSQL DB / Enter DB)
$ sudo service postgresql start
$ sudo -u postgres psql

--- (Edit Environment Variables / Run Fresh Reloader)
$ cd src/muto
$ export PATH="$PATH:$GOPATH/bin"
$ fresh
$ (ALTERNATIVE) go run main.go

--- (Go Packages)
-- Golang
- golang.org/x/crypto/bcrypt
- golang.org/x/tools/refactor/rename

--- (Third-Party Packages)
-- Github
- github.com/pilu/fresh
- github.com/gorilla/mux
- github.com/gorilla/schema
- github.com/gorilla/csrf
- github.com/lib/pq
- github.com/jinzhu/gorm
- github.com/jinzhu/gorm/dialects/postgres

-- Icons
- Social: Freepik - http://www.freepik.com

--- (Update Go)
$ sudo rm -rf /opt/go
$ wget https://dl.google.com/go/go1.9.3.linux-amd64.tar.gz
$ sudo tar -C /opt -xzf go1.9.3.linux-amd64.tar.gz
$ go version

--- Dynamic Reloading: "Fresh" Third-Party Package
$ go get github.com/pilu/fresh
- Export environment variables (export PATH="$PATH:$GOPATH/bin")
- Create runner.conf file
- Start application via "fresh" command

--- Update Gcloud SDK
$ gcloud components update
-- Revert back to previous version
$ gcloud components update --version [91.0.1]