pmbanugo / cron-atlas

A modern cron job scheduler for the serverless era
https://cronatlas.com/
GNU Affero General Public License v3.0
69 stars 4 forks source link

Improve Form Validation handling #1

Open pmbanugo opened 9 months ago

pmbanugo commented 9 months ago

The forms currently only have basic client-side validation. The application should also do server-side validation, so that only valid data will be saved. It should ensure that:

This could be implemented in a simplistic way using epicweb-dev/invariant. An alternative is to use Conform and Valibot. The following guides by Kent Dodds shows how to use it in Remix.

pmbanugo commented 9 months ago

Side note: perhaps root/apex domains like google.com should not be allowed because it's a waste of resource if they keep running and are not useful to the end user.

abakermi commented 8 months ago

@pmbanugo i will take that

pmbanugo commented 8 months ago

Just FYI, I’d like prefer if you used Valibot instead of Zod.

abakermi commented 8 months ago

@pmbanugo ok