Sveltekit + Objection.js Fullstack
this is just plain implementation, from my learning journey
preparation
- clone this
- check knexfile, make sure it matches with your database
- if knex already installed in global, run
knex migrate:latest
, else runnpx knex migrate:latest
instead
run
npm run dev
or pnpm dev
manual test
- go to
http://localhost:3000/mendaftar
for signup, and create the first user - automatically redirect to
http://localhost/masuk
for signin