This is a Next.js project bootstrapped with create-next-app
.
You can take a look at the demo here: https://workouts-finder.vercel.app/
By default this project will try to use a mongodb database from mongo lab, you can create one for free for development purpuse. So make sure you have an .env.local
file in the root of the project with the following data:
DB_USERNAME=<your_db_username_here>
DB_PASSWORD=<your_password_here>
DB_NAME=<db_name>
If you want to use a different mongodb server, just need to edit the connection chain in Data Source
Then, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.