Commit graph

62 commits

Author SHA1 Message Date
George Shaw
b0bb87b2f0 refactored user api and removed some debug things in webhost 2017-11-03 17:23:10 -05:00
George Shaw
3461ffaec2 added jwt authentication 2017-11-03 17:18:26 -05:00
George Shaw
9f806691d5 a lot of front end work 2017-11-02 17:07:09 -05:00
George Shaw
8408d1f23b created session handler, session testing, implemented sessions to keep track of user authentication in the backend and implemented user logout api 2017-10-31 18:05:48 -05:00
George Shaw
92296fca50 refactoring/renaming/commenting/documenting 2017-10-30 16:09:45 -05:00
George Shaw
18fb087566 updated api readme 2017-10-30 15:51:58 -05:00
Hoang Dang
2c823b02a9 setup a readme file for api calls #39
(cherry picked from commit 9c6e90b)
2017-10-28 19:10:48 -05:00
George Shaw
ecf359d3ce check if user already exists in registration process 2017-10-27 14:32:00 -05:00
George Shaw
4237032778 updated user api to use hashed passwords 2017-10-26 16:37:09 -05:00
George Shaw
d451bda6b5 boltdb is working as well as authentication and registration for users. you can take it in index.html of the webhost 2017-10-26 14:50:25 -05:00
George Shaw
a283b4cd20 Added some needed comments, removed all literal HTTP codes and replaced them with the constants from the http package. Changed the way auth API works by returning a status code that returns the correct status of success (eventually I'm thinking we'll return a login token of sorts). 2017-10-25 14:46:21 -05:00
George Shaw
73231cc652 this should have definitely been several commits... I did a lot of things, added deps for boltdb, init boltdb, built out a way to handle APIs (don't know how good it is haha), and did some minor authentication that half-way works for the webhost 2017-10-24 17:07:40 -05:00