Please run the following instructions:
npm install
Create a user in MySQL using following command in MySQL Shell (Replace localhost with your domain if required)
create user jailer@localhost identified by 'password';
grant all privileges on *.* to jailer@localhost;
npm run databaseConf
Note - If you want to use your own data you will need to manually delete the present data and add your own Caution - Please add your own users using the '/v1/api/users/signup' route, as the passwords are encrypted (you can add with hash though). If you are adding 'admin' yourself, then manually change its role in the DB using shell.
npm run insertDummy
Note - For Admin, Username : [email protected], Password: admin
Contributers - kushwahahimanshu22 | AyushSinghRajputMNIT | KapilRaWT