Skip to content
This repository has been archived by the owner on Jul 14, 2019. It is now read-only.

rayyildiz/go-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An implementation TodoMVC by using Go Lang

Build Status

Demo http://rayyildiz-todo.appspot.com

Install

Install go AppEngine then set GOPATH and GOROOT

Install http://www.gorillatoolkit.org/pkg/mux

go get github.com/gorilla/mux

Run app engine with

goapp serve frontend/frontend.yaml  backend/backend.yaml

Deploy

If you want to deploy to change application in backend/backend.yaml and frontend/frontend.yaml

application: rayyildiz-todo

Then change your api url in frontend/static/js/services/todoStorage.js

var baseApiPath = "//api.rayyildiz-todo.appspot.com"

Don't forget to change frontend url in backend/tasks.go like

const frontendUrl = "http://localhost:8080"

Now you can deploy your application

goapp  deploy --oauth frontend/frontend.yaml  backend/backend.yaml