Full stack Authentication system (Login, Register) made with typescript, react and express.
-Admin Dashboard (Logs + User management) -File uploads manager (file upload api (done) + profile page + list of files page + add file page + delete file page + download file page)
POST /api/register
Parameter | Type | Description |
---|---|---|
Name |
string |
Required. User's name |
email |
string |
Required. User's email |
password |
string |
Required. User's password |
passwordValidation |
string |
Required. Confirmation of the password |
POST /api/login
Parameter | Type | Description |
---|---|---|
email |
string |
Required. User's email |
password |
string |
Required. User's password |
GET /api/logout //logs out current auth
GET /api/currentUser //Returns User's data
GET /api/auth //returns user's auth
GET /api/users //returns all the data of the users
GET /api/user/:userId //returns the data of the specified user