Mohamed BOUSSAID 234449f3c6
fix(server, web): Prevent the user from setting a future date of birth (#5803)
* Hide the person age if it is negative

* Add validation to prevent future birth dates

* Add comment

* Add test, Add birth date validation and update birth date modal

* Add birthDate validation in PersonService and SetBirthDateModal

* Running npm run format:fix

* Generating the migration file propoerly, and Make the birthdate form logic simpler

* Make birthDate type only string

* Adding useLocationPin back
2023-12-19 10:07:38 -06:00
..
2023-06-30 23:50:47 -05:00
2023-11-17 22:13:36 -06:00
2022-07-15 23:18:17 -05:00
2023-11-28 14:16:27 -06:00
2022-07-15 23:18:17 -05:00
2023-11-27 11:42:04 -05:00
2023-06-30 23:50:47 -05:00
2023-12-08 11:15:46 -05:00
2023-11-17 22:13:36 -06:00
2023-11-21 13:46:07 -05:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm init svelte

# create a new project in my-app
npm init svelte my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.