andykais / telebum

a note taking web app for organizing television shows and movies
MIT License
0 stars 0 forks source link

Add login functionality. #4

Closed jowlee closed 8 years ago

jowlee commented 8 years ago

Use bcrypt js to store user login info/ middleware.

andykais commented 8 years ago

login page is done with calls for user login and user creation, respectively

$http.post("/api/user/login", {username: username, password: password})
$http.put("/api/user/createUser", {username: username, password: password})