Social games (working title) is a web app that can be used to collect and find (online) social games. Games have an image for quick recognition, player count limits and tags to map various attributes.
If you want to use basic auth to protect the page, see .env.dist for reference.
- Run
npm installto install the dependencies - Run
npm run devto start the local development server
- Run
npm installto install the dependencies - Run
npm run buildto create a build - Optionally run
npm run serveto serve the build
In case you want to make changes to the code, make sure eslint and prettier are configured correctly. A configuration and list of recommended extensions for VSCode is already provided.
The frontend follows the atomic design principles, see this article for an overview. At the moment, templates are not implemented separately but within the app directory.
- Everyone can view games and tags
- Logged in users with the member role can create games and tags. They can also edit and delete games and tags created by them
- Admins can create, edit and delete all games and tags
Permissions can be added manually using add-claims-script.js or using the administration page.
Usage instructions for add-claims-script.js can be found in the script.