This application has three parts:
- A webserver built with Golang and the Gin framework.
- It has an API.
- Serves static files.
- A UI built with Bootstrap.
- A javascript client system built with AngularJS that powers the client and calls the API.
To build the server:
- Install Golang.
- Install gom
go get github.com/mattn/gom
. - Go to the head file directory of the repo.
- Install dependencies
gom install
. - Build server
gom build
.
To run server:
./ToDoDemo
To login:
- Go to
http://127.0.0.1:8080
- use one of the two users (currently only one instance of each user can be handled at a time):
- User:
Foo
Password:password
- User:
Bar
Password:password
- User:
Keynotes:
- The app is ONE page, AngularJS views are used.
- Bootstrap is used for styling but to Javascript from it is used.