Smart ERP! MERN College ERP project created using React for the UI,Redux for state management, MongoDB for database, Express & NodeJS in the backend for server functionalities,validation and JWT user authentication. Login as student or faculty or admin and explore. A smarter way to manage student marks,attendance, chat with other students,etc. (Check README)
comment line 41 in server\controllers\studentController.js and instead use const validPassword=password===student.password;
make a .env file and set environment variable for JWT_SECRET and MONGO_URI.If you are using local database, fed database with registartionNumber and password used in Readme file .
if mongoose is throwing error..try to install mongoose using npm.
run node server.js command in root directory of server.
We can run backened using following steps: