Welcome to the sharing app!
This is a basic sharing app using Mongodb with Next.js
- cloning the app:
npm install
- add an
.env.local
file in your root folder to MongoDB connections:
MONGODB_URI=mongodb+srv://username:password@cluster0.tnink.mongodb.net/dbName?retryWrites=true&w=majority DB_NAME=dbName
- run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.