- Use our brandkit and styles where possible.
- Default to small components. Prefer focused modules over god components.
- Use comments to explain your code in Dutch.
- Code, functions, vars - everything but comments and documentation - should be in English.
- Use
./js/config.jsand./js/auth.jsfor configuration and authentication. - Use
./js/utils.jsfor utility functions. - Use
./js/loader.jsfor component loading. - Adhere to official documentation from Supabase.
- Do not hard code colors, use
css/variables.csswhere possible to adhere to our brandkit. - Do not use
divs if we have a component already - Do not add new heavy dependencies without approval
# Start the dev server
npm run dev- All code goes in the
srcdirectory. - We have a
componentsdirectory for reusable components. - We have an
assetsdirectory for static assets, like fonts, images and icons. - We have a
cssdirectory for global styles and theme configuration. admindirectory for admin pages and the modules with their corresponding Javascript files.pagesfor all other normal pages.supabasedirectory contains the SQL scripts to start up the DB.