https://github.com/denzaiyy/next-blog
Exercice to pratice bases of nextJS
https://github.com/denzaiyy/next-blog
datefns lucide-react mongodb-atlas nextjs15 prisma prisma-client prisma-orm reacthottoast tailwindcss
Last synced: about 1 month ago
JSON representation
Exercice to pratice bases of nextJS
- Host: GitHub
- URL: https://github.com/denzaiyy/next-blog
- Owner: DenZaiyy
- Created: 2025-02-10T16:08:43.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-10T16:27:19.000Z (11 months ago)
- Last Synced: 2025-02-10T17:29:22.329Z (11 months ago)
- Topics: datefns, lucide-react, mongodb-atlas, nextjs15, prisma, prisma-client, prisma-orm, reacthottoast, tailwindcss
- Language: TypeScript
- Homepage: https://next-blog-38tkaycy3-denzaiyys-projects.vercel.app/article
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next Blog
This is a exercice to learn [NextJS](https://nextjs.org/) with [Prisma](https://www.prisma.io/), [TailwindCSS](https://tailwindcss.com) and [MongoDB](https://www.mongodb.com/).
## Prisma
To using prisma, we need to install it with :
```bash
npm i prisma @prisma/client
```
After installation, we need to generate the prisma client with:
```bash
npx prisma generate
```
And push changes to db:
```bash
npx prisma db push
```
Then we can use prisma to manage our database.
## MongoDB
I'm using [MongoDB Atlas](https://www.mongodb.com/fr-fr/atlas) to store data.
I using [MongoDB Compass](https://www.mongodb.com/products/compass) to manage my database.
## Packages
I'm using multiple packages to make my life easier.
- [React Hot Toast](https://react-hot-toast.com/) to display notifications.
- [Lucide](https://lucide.dev/) to display icons.
- [Date-fns](https://date-fns.org/) to format dates.