Plan anything collaboratively with others.
Application leverages:
- Nextjs 14 with RSC for the front and back-end
- Drizzle to manage an SQLite database
- Nextauth for authentication and authorization
- UI components are provided via shadcn-ui
Clone the repository and start development mode.
git clone [email protected]:dayvidwhy/planner.git
cd planner
npm i
npx drizzle-kit generate:sqlite
npx drizzle-kit push:sqlite
npm run dev
Project uses NVM for node version.
# Set node to 21
nvm use
Components are provided by shadcn-ui. Components are stored under ./components/
and more can be installed with:
npx shadcn-ui@latest add
Follow the prompts.
Project is using SQLite via better-sqlite3
interacted with via Drizzle as the adapter.
Some useful commands:
# Generate the database
npx drizzle-kit generate:sqlite
# Push changes to the database
npx drizzle-kit push:sqlite
# Inspect the database with Drizzle kit studio
npx drizzle-kit studio
# If you're starting fresh, run generate and push to get going
npx drizzle-kit generate:sqlite
npx drizzle-kit push:sqlite
View database files in ./drizzle/
, SQLite database is stored at ./sqlite.db
.