This project is designed to connect to and use a PostgreSQL database.
Create a .env file at the root of your project. You can use .env.example as a template.
Example .env.example:
DATABASE_URL=mysql://username:password@localhost:5432/dbname
PORT=5173DATABASE_URL→ your MySQL connection stringPORT→ random port to make it just work locally
Copy .env.example to .env and update values as needed:
cp .env.example .envOnce you've installed dependencies:
npm install
# or pnpm install
# or yarnStart a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openTo create a production version of your app:
npm run build