MongoShare
Sharing Code With MongoShare!
About
MongoShare helps with sharing your code. It is made with MongoDB & Next.js. MongoShare is a hackathon project for MongoDB Atlas Hackathon on DEV.
Local Development
-
Fork the repo on GitHub
-
Clone the repo
git clone https://github.com/rajvirsingh1313/mongoshare
cd mongoshare
-
Create a next.config.js file in the root dir
module.exports = {
env: {
ATLAS_URI:
"mongodb+srv://<username>:<password>@cluster0.lydaj.mongodb.net/mongoshare?retryWrites=true&w=majority",
DOMAIN: "http://localhost:3000",
},
};
-
Install Dependencies
npm i
-
Run the development server
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.