729 B
729 B
Here are special rules you must follow:
- All forms should use regular form url encoding.
- All routes should return html.
- Use htmx for all dynamic content, when possible.
- Use alpinejs for other dynamic content. For example, hiding or showing an element.
- Prefer using daisyui over raw tailwind where possible.
- Prefer using alpinejs over raw javascript. Raw javascript should almost never be needed.
- Always print unhandled exceptions to the console.
- Follow best practices for jinja template partials. That is, separate out components where appropriate.
- Ask the user when there is something unclear.
- I always run the server locally on port 5000, so you can use curl to test. No need to start it yourself.