MongShare – Share Code

Overview of My Submission

MongShare helps with sharing your code. Users can share the code with others through a link, and the code would be editable with a password created by the author.

MongShare uses the MongoDB Atlas as a database and …


This content originally appeared on DEV Community and was authored by Rajvir Singh

Overview of My Submission

MongShare helps with sharing your code. Users can share the code with others through a link, and the code would be editable with a password created by the author.

MongShare uses the MongoDB Atlas as a database and Next.js as a frontend.

Submission Category:

Choose Your Own Adventure

Link to Code

GitHub logo RajvirSingh1313 / MongShare

Share Code With MongShare

MongShare

Sharing Code With MongShare!

About

MongShare helps with sharing your code. It is made with MongoDB & Next.js. MongShare 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/mongshare
cd mongshare
  • Create a next.config.js file in the root dir

module.exports = {
  env: {
    ATLAS_URI:
      "mongodb+srv://:@cluster0.lydaj.mongodb.net/mongshare?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.




Additional Resources / Info

Image description
Image description

I want to thanks the open source community for making my life easy. I also want to thanks the Dev.to and MongoDB for hosting this hackathon.


This content originally appeared on DEV Community and was authored by Rajvir Singh


Print Share Comment Cite Upload Translate Updates
APA

Rajvir Singh | Sciencx (2022-01-12T20:15:18+00:00) MongShare – Share Code. Retrieved from https://www.scien.cx/2022/01/12/mongshare-share-code/

MLA
" » MongShare – Share Code." Rajvir Singh | Sciencx - Wednesday January 12, 2022, https://www.scien.cx/2022/01/12/mongshare-share-code/
HARVARD
Rajvir Singh | Sciencx Wednesday January 12, 2022 » MongShare – Share Code., viewed ,<https://www.scien.cx/2022/01/12/mongshare-share-code/>
VANCOUVER
Rajvir Singh | Sciencx - » MongShare – Share Code. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/12/mongshare-share-code/
CHICAGO
" » MongShare – Share Code." Rajvir Singh | Sciencx - Accessed . https://www.scien.cx/2022/01/12/mongshare-share-code/
IEEE
" » MongShare – Share Code." Rajvir Singh | Sciencx [Online]. Available: https://www.scien.cx/2022/01/12/mongshare-share-code/. [Accessed: ]
rf:citation
» MongShare – Share Code | Rajvir Singh | Sciencx | https://www.scien.cx/2022/01/12/mongshare-share-code/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.