Files
3dbddfa02a [ EXAMPLES ] Added with-mongodb example (#13028)
* created with-mongodb, Next.js + MongoDB

Co-authored-by: Shania Dhani <[email protected]>
Co-authored-by: Michelle Lucero <[email protected]>
Co-authored-by: Chi Shing Lee <[email protected]>

* Update examples/with-mongodb/README.md

Co-authored-by: Tim Neutkens <[email protected]>

* modified for dotenv and environment var setup

* removed extra instructions on readme, linked it to the MongoDB guides

* changes to environment var

* replaced document with react logic

* removed Pet header

* removed isomorphic-unfetch

* replaced getInitialProps with getStaticProps (SSG)

* removed console log

* deleted next.config.js file

* fixed prettier styling

* fixed link 404 server rendering issue

* modified server path for delete/edit

* fixed prettier styling

* fixed a typo

* change .env to .env.local

Co-authored-by: Joe Haddad <[email protected]>

* fixed typo, change .env to .env.local

Co-authored-by: Joe Haddad <[email protected]>

* change .env to .env.local

Co-authored-by: Joe Haddad <[email protected]>

* Update examples/with-mongodb/package.json

Co-authored-by: Joe Haddad <[email protected]>

* removed dotenv dev dependency

Co-authored-by: Joe Haddad <[email protected]>

* cleaned up code and instructions

* Update examples/with-mongodb/.gitignore

Co-authored-by: Luis Alvarez D. <[email protected]>

* minor changes to code style and logic

* Updated index page and .env.local.example

* Updated new page

* Don't use SSG for the edit page

* Fixed revalidation issue

* Use es6 for the model

* Updated edit page

* Removed VERCEL_URL

* Updated readme and renamed env

* Added temporal vercel.json

* Removed seed until added with a script

* Updated package.json

* Renamed example in readme

* Renamed example

* Lint fix

Co-authored-by: liulanz <[email protected]>
Co-authored-by: Shania Dhani <[email protected]>
Co-authored-by: Chi Shing Lee <[email protected]>
Co-authored-by: Tim Neutkens <[email protected]>
Co-authored-by: sdhani <[email protected]>
Co-authored-by: liulanz <[email protected]>
Co-authored-by: Joe Haddad <[email protected]>
Co-authored-by: Luis Alvarez D. <[email protected]>
2020-05-30 12:15:00 -05:00
..