The main repository for the Asterion Koningen Applicatie V3.0. Built originally for the Stichting Sociëteit Asterion. Now discontinued due to no interest to continue with this project by either party. This was also our first project in React and Express and thus some code might not be optimal or clean.
Description
Users should be able to login in the system by using a password based login. Once logged in the users should be able to query the endpoints they have permission to. The logins should be properly salted and hashed according to best practices for storing user information.
The token/session Id should expire over time when not used to prevent the session tokens being stolen etc.
Checklist
[x] Create login page
[x] Create credentials table in the database
[x] Create token after login
[x] Have endpoints check for the token when logged in
[x] Each logged in user should only be able to query their endpoints if given permission
Description Users should be able to login in the system by using a password based login. Once logged in the users should be able to query the endpoints they have permission to. The logins should be properly salted and hashed according to best practices for storing user information.
The token/session Id should expire over time when not used to prevent the session tokens being stolen etc.
Checklist