A Blog app made in NodeJs, Express and MongoDB
To test the routes, after running the server go to http://localhost:4000/api-docs (documentation)
Variables that must be put in dotenv -
-
PORT
-
MONGODB_URL
-
SECRET_KEY=
-
COOKIE_EXPIRY=1
-
FORGOTPASS_EXPIRY=30
-
JWTTOKEN_EXPIRY=3h
-
CLOUDINARY_NAME
-
CLOUDINARY_KEY
-
CLOUDINARY_SECRET