Commit Graph

38 Commits

Author SHA1 Message Date
Derek McQuay
c2f8d2eca0
addes tranx with user_id and category_id 2017-02-05 00:23:42 -08:00
Derek McQuay
4d665b3ffe
updated tranx
promise... this is the last time :)
2017-02-05 00:07:05 -08:00
Derek McQuay
8fa3290406
updated tranx type... again 2017-02-05 00:04:24 -08:00
Derek McQuay
dc4b1be612
added tranx route and partially coded 2017-02-04 23:54:18 -08:00
Derek McQuay
162f86c894
updated tranx type 2017-02-04 23:54:07 -08:00
Derek McQuay
065b0d2cc6
fixed redundant error handling 2017-02-04 23:39:50 -08:00
Derek McQuay
8d178d0541
updated tranx type to match sql 2017-02-04 23:38:42 -08:00
Derek McQuay
712b4a1cff
get rid of old list route and function 2017-02-04 23:37:29 -08:00
Derek McQuay
c73a3bf707
derekmcquay@gmail.com default value in users
made self an admin as well
2017-02-04 23:25:34 -08:00
Derek McQuay
c99445e261
user route added and coded
can now hit user route (get, post, delete). Coded in some checks to see
if user is admin and has privledge. Currently turned off to allow work
from curl
2017-02-04 23:24:38 -08:00
Derek McQuay
b278dee092
updated user type to fit psql 2017-02-04 23:24:10 -08:00
Derek McQuay
d168a117d2
category route added and coded
added api.go where api routes will be built (will move code from
server.go in the future to api.go that fits that) and coded out the
category route (delete, post, and get)
2017-02-04 22:33:28 -08:00
Derek McQuay
95e85aa011
updated category and tranx types
they now fit what is in the psql db
2017-02-04 22:33:01 -08:00
Derek McQuay
4ff3ed9112
added budget to categories 2017-02-04 21:48:43 -08:00
Derek McQuay
a5f0979116
got tables laid out correctl 2017-02-04 21:38:31 -08:00
Derek McQuay
4d533d295c
made changes to server to incoporate db 2017-02-04 19:48:13 -08:00
Derek McQuay
4d5077d72d
added sql to go with db 2017-02-04 19:48:02 -08:00
Derek McQuay
5985527302
added db.go file 2017-02-04 19:47:40 -08:00
Derek McQuay
9f98331c59
added vendor dir 2017-01-24 18:27:39 -08:00
Derek McQuay
f5d1e2aca3 pushing to github 2017-01-20 14:22:01 -08:00
da62df1bcd working on front end
got dates to work (sort of) now neet to actually send tranx to backend
2016-08-25 14:16:52 -07:00
2da179aee4 behavior for relogging in corrected 2016-08-25 13:08:19 -07:00
6aebd3476c fixed oauth bug
figured out it was how i was using sessions.
2016-08-25 11:29:20 -07:00
e63fee56dc make string actually random 2016-08-23 11:11:25 -07:00
fe437a1dcc updated static assests from starz to chipmunk 2016-08-23 11:11:08 -07:00
e6e2f47134 can get a map of month to cost
doesnt concern itself with years yet...
2016-08-23 09:45:14 -07:00
840db08294 added some more doc for the funcs 2016-08-23 09:44:08 -07:00
08880ea88b added month to tranx 2016-08-23 09:15:34 -07:00
0b959fedfe updated default port 2016-08-23 09:15:27 -07:00
3ea42bcd32 reorg and check errors from session.Get
wasn't checking the error that could possibly come from getting the
cookie session info.
2016-08-22 21:16:20 -07:00
d2349d2105 don't allow duplicate users to be added 2016-08-22 21:08:06 -07:00
36a90e04c8 tranx POST and GET working
cleaned up the getUser function, now returns index to user rather than
*user
2016-08-22 21:00:39 -07:00
6b2f97632d working on adding tranx to users 2016-08-22 15:17:25 -07:00
cb1f5f0464 broke out user and tranx into seperate files 2016-08-22 15:17:13 -07:00
4f7b61cb86 google oauth working along with clean up
cleaned up some things from starz that weren't needed any more.  Also
cleaned up the oauth process and now am storing the users emai but also
have the userInfo struct that gathers all the info that google oauth
userinfo returns
2016-08-22 13:03:23 -07:00
901d8e5070 got google oauth working
basically copied this from my previous work in starz.  Wanted to get
google oauth working before changing much around.
2016-08-21 22:31:37 -07:00
2f9e8fa65d adding swap files to gitignore 2016-08-21 22:31:16 -07:00
dm
2a84ae5337 initial commit 2016-08-21 14:26:17 -07:00