This Notes Manager could be a reference point if you want to enjoy a full stack application!
I have made it decoupled, so that backend and frontend can be used independently.
I could not find any good examples for elysia, better-auth! So build my oun example for self-reference.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
If you have a liking to Node+npm.
You can replace bun (or bun --bun) with npm.
What things you need to install the software and how to install them.
Running this application in local would require running two bun/node instances front end and backend!
Create db name 'users'. I am using user pgelysia, feel free to use postgres as user. helping script:
cd poc-backauth
bun install
Below command will create db tables based on schema provided in folder 'schema'
bunx drizzle-kit push
bun run dev
cd poc-webauth
install dependencies:
bun install
Run application:
bun run dev