GAS - Golang + AngularJs + Sqlite
This open source project provide you the fastest way to deploy your own frontpage and blogging web app, with a product module for promote your own business.
AngularJS is responsible for layout, sending restful request to server, and presenting data retrieved from server. (gas/webapp)
While Golang modules are responsible for providing restful api to angularjs webapp. (gas/service)
Using Sqlite for database mainly because it's simplicity, and should be more enough for me.
Install
- Install Golang.
- go get github.com/featen/gas
- Modify your site config at data/gas.conf.
- go run app.go
Deploy to Openshift (free)
- Create an openshift account and create a golang app - e.g. blog.
- git clone your blog code from openshift, copy gas app code into blog dir.
- rm web.go from original blog code, git add 'the rest code from gas', git commit -a; git push origin master.