Dynamically created startpage / bookmarks page. Practice project for trying out Svelte.
Using sqlite for the DB this time. So it's not needed to run docker like in the previous example with a MySQL DB.
Settings I used during the setup:
If not done yet, set a DATABASE_URL in a .env file:
DATABASE_URL="file:./db.sqlite"
Then push the schema to the DB:
npm run db:push
Running the svelte app:
npm run dev
Accessing DB in CLI (in project root folder):
sqlite3 local.db
.tables # show all tables
SELECT * FROM user; # show all users (temp table for trying out for now)