This is a an Image gallery that allows signed in users to rearrange the images in any order of choice and also allows user to search for images with particular tags.
-
clone repo:
git clone https://github.com/chisomchris/gallerie.git
-
install neccessary dependencies:
npm install
-
create a
.env.local
file in the root foldertouch .env.local
-
setup your mongoDB database and add connection string to .env.local file
.env.local
MONGODB_URI = connection-string-for-your-database
-
finally, run on local development server
npm run dev
Open http://localhost:3000 with your browser to see the result.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out Next.js deployment documentation for more details.