Skip to content

yenjungchen80108/sharly

Repository files navigation

Welcome to the sharing app!
This is a basic sharing app using Mongodb with Next.js

Getting Started

  1. cloning the app:
npm install
  1. 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

  1. run the development server:
npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.