Commit graph

19 commits

Author SHA1 Message Date
George Shaw
73fa8a9ea9 fixed bottleneck in web servers, tidy'ed code up in web servers by quite a bit 2017-11-01 17:20:36 -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
George Shaw
a94b65f768
Merge pull request #40 from hoangdangninh/mirror
setup a readme file for api calls #39
2017-10-30 15:35:11 -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
Andrew Siegman
c3d0aaa714 use mime package, update tests 2017-10-28 13:59:57 -05:00
Andrew Siegman
e098a7a743 update content type function with tests 2017-10-28 13:59:55 -05:00
Andrew Siegman
9b189d7d32 minor refactor 2017-10-28 13:59:55 -05:00
Andrew Siegman
cd68f2da85 minor refactor 2017-10-28 13:59:55 -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
d758dbb28c added password hashing and testing for the functions 2017-10-26 16:17:27 -05:00
George Shaw
2ece3d08b8 removing types from global constants/variables with declarations in database package 2017-10-26 14:58:06 -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
Aaron Alexander
bf8a9f5a47 moved backend servers into pkg 2017-10-23 14:54:39 -05:00
George Shaw
1f276ec5ae refactoring/following conventions/fixing packages/fixing architecture 2017-10-23 14:45:43 -05:00