complete registration and login

This commit is contained in:
Matteo Rosati
2026-01-26 14:44:17 +01:00
parent 4fc146789f
commit c9db7c89d8
15 changed files with 315 additions and 114 deletions

View File

@@ -7,3 +7,12 @@ export const INITIAL_ZOOM = 17;
* MapTiler style URL for the map
*/
export const MAP_STYLE = import.meta.env.VITE_MAPTILER_STYLE;
export const STATUSES = {
SUCCESS: "success",
ERROR: "error",
};
export const DB_ERROR_CODES = {
P2002: "P2002", // "Unique constraint failed on the {constraint}"
};