https://github.com/rootz491/nextjs-learning
learning
https://github.com/rootz491/nextjs-learning
Last synced: about 2 months ago
JSON representation
learning
- Host: GitHub
- URL: https://github.com/rootz491/nextjs-learning
- Owner: rootz491
- Created: 2021-09-16T08:28:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-13T21:16:11.000Z (about 3 years ago)
- Last Synced: 2025-03-09T14:06:19.983Z (over 1 year ago)
- Language: JavaScript
- Homepage: rootz-blog.vercel.app
- Size: 7.26 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# NextJs
i'm learning nextJs now. It's react framework, loved by 10xDevelopes and very fast to create production friendly applications.
* Untill now, i read some documentation and feeling good about this decision of learning *nextJs*.
* Tried **sanity (CMS)** with NextJs by direcly using their template project and modifying it.
* Tried using API stuff of nextJs which is pretty neat untill you get stuck with `mongoose` to use MongoDB database in your project.
* Since then, i'm trying to find a reliable backend & database to work with, using with I can do CRUD and other simple operations required in building web application.
#### firebase with nextJs
> Just remembered about firebase after months, and now thinking about using it in next project.
It can give realtime database which is perfect for react apps and way to write backend thru functions which can get tricky because it requires `credit card` to use firebase fuctions.
So let's see!
[Here](https://github.com/fireship-io/next-firebase-course)'s the source code of [this](https://next-firebase-course-git-main-fireship.vercel.app/) web app by fireship from his pro-membership course where he used firebase and nextJs together.
#### mongoose with nextJs
Above issue is resolved now, means CRUD is pretty straight forward using `mongoose` thru *API* for *client-side* availability or even *server-side rendering* thru directly calling corresponding *CRUD* function inside `getServerSideProps` function.