Upgrade design & moved backend here & login and settings work with api

This commit is contained in:
2024-09-29 18:04:41 +02:00
parent 42d3212624
commit f2d1eb4289
43 changed files with 1881 additions and 359 deletions
+9
View File
@@ -0,0 +1,9 @@
import { createPool } from '@vercel/postgres';
export const getDBConnexion = () => {
const pool = createPool({
connectionString: process.env.POSTGRES_URL,
});
return pool;
};