After creating Daobook (See that repo here) for my final project as a group project for CoderAcademy, I re-created it in NextJS using the latest app router, Server Actions, and Auth.js including building my own custom adapter.
See it live here: Daobook Next.
- NextJS 13 with the experimental App Router & Server Actions. Cutting-edge tech that cut me a few times.
- 🧮 Postgres.js and its querybuilder for all DB interaction.
- 🧭 Auth.js, where I wrote my own custom Adapter to work with the Postgres.js library above.
- 🎨 TailwindCSS for all styling.
You'll need to set up the database locally and run create.sql from the db folder, and provide your environment variables as per the .env file in the root of the project. This app uses GitHub OAuth for sign-in. Something like;
# set up your db before this. Manually edit the db:reset script to your values.
pnpm run db:reset
pnpm install
pnpm run dev