issues
search
wd-David
/
snowball
A simple side project for personal accounting.
snowball-front-end.vercel.app
4
stars
1
forks
source link
feat(front-end): login/ register/ logout system & route protection
#26
Closed
wd-David
closed
1 year ago
wd-David
commented
1 year ago
add
.env.example
to show how to setup environment variable (.env in your local dev)
redirect user for route protection. E.g., users would be redirected to the login page if they access the dashboard page accidentally
logout system works in the front-end runtime (SSR), expect to deploy at Vercel
Express production API server is fully protected and hidden from the front-end
wd-David
commented
1 year ago
Yes, real production url is hidden in this repo.
.env.example
to show how to setup environment variable (.env in your local dev)