Light-weight web server with simple authentication
yarn installyarn run server- Open browser to
http://localhost:3000 - Login at
http://localhost:3000/admin/auth/login(default email:admin@admin, password:admin)
Thunder Cat is meant to serve static files available to the public or admin static files which are protected by a login. You may use any frontend framework you wish and build to the directories you wish.
There are two folders of concern:
src/public/*These are public static files, available to everyone.src/admin/*These are admin only static files requiring a login to access.
- Sessions are stored in memory (so this does not scale.)
- User accounts are stored in
src/storage.json