GithubHelp home page GithubHelp logo

hoathienvu8x / sixty Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emadera52/sixty

0.0 1.0 0.0 4.37 MB

Website built using GO, HTML5, CSS3, Bootstrap, MySQL and the Beego web framework.

License: Other

Go 30.45% CSS 9.86% JavaScript 32.45% Smarty 27.24%

sixty's Introduction

Sixty

sixty is an example of a "test the waters" website built using Go, HTML5, CSS3, Bootstrap, MySQL and the Beego web framework. The only JS (not included in Bootstrap) was added to handle flash messages.

Visit the 60+ Adventures website at http://60plusadventures.com

Installation

Requirements

Everything below assumes you have installed Go and defined $GOPATH (linux) or %GOPATH% (windows). This document explains GOPATH setup. This site explains how windows users can create %GOPATH% and edit PATH.

Database Setup

The file setup.sql contains SQL to create the database and the required tables (assuming you use MySQL). Beego Also supports SQL Lite and Postgres. If you don't use MySQL you will need to modify the SQL in setup.sql.

See comments in main.go regarding correct database registration.

Installation

To use this method you must have Git installed.

go get github.com/emadera52/sixty

This will install the application executable sixty (linux) or sixty.exe (windows) in GOPATH/bin which is why it's handy to add that to your PATH.

Source code for the project will be in GOPATH/src/github.com/emadera52/sixty. Source code for Beego, and the required MySQL driver will also be in the GOPATH/src/github.com directory. Source code for advanced encryption and encoding will be in GOPATH/src/golang.org/x/crypto. Those are the only external dependencies used by this project.

Get the Source Code - Other Options

Click Clone in Desktop. Learn more here.

To Fork this project with the intent of contributing bug fixes, modification or new stuff follow the instructions here

Click Download ZIP to get a completely independent copy to do with as you please within the limits of the LICENSE (see below).

Features

  • Non-SSL User Authentication
  • CSRF protection
  • Extensive use of Go templates to avoid JS
  • Encoding, Encrypting and Hashing examples
  • Based on Beego's MVC architecture: http://beego.me/docs/mvc/
  • Uses Beego's ORM for Database access
  • Demonstrates a simple 1:many Database relationship
  • Uses Beego's per request context along with persistent sessions
  • Demonstrates bootstap's responsive grid. Usable smart phone > desktop
  • Can be used as a template for gaging public interest in other ideas

Documentation (Technical)

Fair Warning

  • This is my first Go project
  • This is the first project I've published on GitHub
  • Constructive suggestions and criticism solicited
  • Use Issues to report problems, ask questions or make suggestions

TODO

  • Make comments viewable
  • Add email handling for validation, password reset and user contact
  • Create a facebook page and twitter account for the project
  • Create a demo destination site with video, ads, etc.

LICENSE

sixty is licensed under the Apache Licence, Version 2.0

(http://www.apache.org/licenses/LICENSE-2.0.html).

Individual source files may contain additional license information regarding included third party code

sixty's People

Contributors

emadera52 avatar

Watchers

Hoa Thiên Vũ avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.