Skip to content

Commit

Permalink
Update README.md (reword Mongo instructions).
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Sep 1, 2023
1 parent 8cb0074 commit f416a54
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,9 @@ The easiest way to deploy your Next.js app is to use the [Vercel Platform](https
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

# MongoDB
To set up MongoDB to this app create an Mongo Atlas cluster. From there create a database and a cluster aswell as a user with read and write permissions. Finally copy `.env.example` and rename the copy `.env` then copy all the information from your Atlas cluster into the appropriate fields in the `.env` file.
This app currently requires MongoDB for its backend storage. To set up MongoDB for this app:

* create an Mongo Atlas cluster.
* From there create a collection, as well as a user with read and write permissions.
* Copy `.env.example`, and rename the copy `.env`
* Copy all the information from your Atlas cluster into the appropriate fields in the `.env` file.

1 comment on commit f416a54

@vercel
Copy link

@vercel vercel bot commented on f416a54 Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.