Skip to content

📖 Plan anything collaboratively with others. Uses Next.js, Drizzle, SQLite and Authjs.

License

Notifications You must be signed in to change notification settings

dayvidwhy/planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Planner

Plan anything collaboratively with others.

GitHub last commit GitHub issues GitHub pull requests GitHub

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

Install

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

Working with the UI library

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.

Database

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.

About

📖 Plan anything collaboratively with others. Uses Next.js, Drizzle, SQLite and Authjs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published