/with-mongo-connection

A simple demo of how to connect a database (MongoDB) to Next.js

Primary LanguageJavaScriptMozilla Public License 2.0MPL-2.0

Using Mongo with Next.js API routes.

A simple demonstration of how to develop a REST API on top of Next.js API routes that connects to MongoDB to store data.

We've added an extremely simple front-end that just lists users and directs to user specific routes that display info for that user.