sessions Installing Install required packages. npm install Create a .env file and place it in the root directory. Environment Variables MONGO_URI URI to mongo database JWT_SECRET Secret string unique to app that hashes JSON web tokens.