A simple web app to browse PostgreSQL data tables built with SvelteKit and TypeScript.
Copy the environment template and fill in the PostgreSQL connection values:
cp .env.example .env
Set SECRET_PGUSER, SECRET_PGPASSWORD, SECRET_PGHOST, SECRET_PGPORT, and SECRET_PGDATABASE in .env.
Install dependencies:
npm install
Run locally:
npm run dev
Build and preview (optional):
npm run build
npm run preview
//customer/customer?search=Acme/customer/[slug]/account/account/[slug]npm run dev Start the dev servernpm run build Build for productionnpm run preview Preview the production buildDatabase prerequisites:
Styling notes:
tailwind.config.cjs and postcss.config.cjs.src/app.css and are imported in src/routes/+layout.svelte.