issues
search
KongKvistad
/
webproject-2
lorem ipsum
1
stars
0
forks
source link
database, routing and token-based access
#10
Open
KongKvistad
opened
4 years ago
KongKvistad
commented
4 years ago
[x] model table for students, companies and businesses
[ ] export from database and share with the team
[x] set up token system for businesses and students
[x] set up routes - map routes to permissions
KongKvistad
commented
4 years ago
note to self: current token generation only supports student.
uses sha256 algoritm for hashing.
enters student into database with dummy data and generates a token based on results returned
is mailed via third party api (sendInBlue)
this endpoint is then handled in react -> sets token in localstorage if exists.