PHDevsConnect/phdevsdir

Build the following endpoints with Express JS and Sqlite

THEozmic opened this issue · 0 comments

POST api/register - Register user params: username, password, email, phone
POST api/login - Login user params: username, password
GET api/users - Get all registered users
GET api/user/:id - Get user with id
UPDATE api/user/:id Update user with id params: username, password, email, phone, about, stack[array]

NOTE: If param type is not specified, assume string