An Interest In:
Web News this Week
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
January 12, 2022 08:15 pm GMT
Original Link: https://dev.to/rajvirsingh1313/mongshare-share-code-3hea
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 Next.js as a frontend.
Submission Category:
Choose Your Own Adventure
Link to Code
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/mongsharecd 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# oryarn dev
Open http://localhost:3000 with your browser to see the result.
Additional Resources / Info
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.
Original Link: https://dev.to/rajvirsingh1313/mongshare-share-code-3hea
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To