This is a boilerplate project for authentication using JWT with MERN stack
- Clone the project
- cd into the project and run
npm iin the root folder - Run
npm iin client folder - Create
.envfiles - Run
npm run devto start the server and client
REACT_APP_SERVER_URL URL to the express server.
NODE_ENVPORTMONGO_URIurl to mongoJWT_SECRETSMTP_EMAILEmail used to send password reset emailSMTP_PASSWORDPassword for SMTP EmailCLIENT_URLUsed for CORS allowed Origins