Back-end code for login & registration with passport.js
In the project directory run to install all dependencies:
In the server directory create a .env file and add:
Runs the BE in the development mode.
Open http://localhost:3001 to view it in your browser.
In the both project directories, you can run: