To Run the project you will need an .env file
Creata an .env file in the root directory. Setup All the variables given below
MONGO_URI="URL From MongoDB got after creating a cluster"
SESSION_SECRET= "Create a secret key, can be anything eg.0718c008fd7ffb43a1b561fd5b9c0ba3be1543f07cddee71e8b20575bfe9f628"
GMAIL_PASSWORD="your mail app password used for contacting you"
GMAIL_EMAIL="your mail id"
ADMIN_EMAIL="any mail id"
ADMIN_PASSWORD="any mail id"
ADMIN_COOKIE_NAME="any mail id"
ADMIN_COOKIE_PASSWORD="any mail id"
Then after setting up .env run
npm install
npm run dev
Go to
localhost:3000/admin
There give your admin password and email id