- Run
yarn
ornpm install
to install all the dependencies - Copy
.env.local.example
into.env.local
and fill the credentials - Setup MongoDB database
- For the MongoDB Atlas Search, you should create search index in the collection of the database
- Run
yarn dev
ornpm run dev
to open the website on the browser - Run
localhost:3000/api/seed
to load the sample data in the database