This is a exercice to learn NextJS with Prisma, TailwindCSS and MongoDB.
To using prisma, we need to install it with :
npm i prisma @prisma/client
After installation, we need to generate the prisma client with:
npx prisma generate
And push changes to db:
npx prisma db push
Then we can use prisma to manage our database.
I'm using MongoDB Atlas to store data.
I using MongoDB Compass to manage my database.
I'm using multiple packages to make my life easier.
- React Hot Toast to display notifications.
- Lucide to display icons.
- Date-fns to format dates.