Skip to content

rajithabhanuka/lms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

./mongod --dbpath ~/Mongodata/

./mongo

use lms_db;

db.createUser({user : "root", pwd : "12345", roles : [{role : "readWrite", db : "lms_db"}]});

Exit

./mongod --auth --dbpath ~/Mongodata/

./mongo localhost/lms_db -u 'root' -p '12345';

db.createCollection("user")

db.user.insert({"email" : "rajithabhanuka1@gmail.com", "password": "123", "name": "Bhanuka", "role": "TEACHER", "regdate" : "2020-06-05"});

db.user.insert({"email" : "rajithabhanuka3@gmail.com", "password": "admin", "name": "Rajitha", "role": "TEACHER", "regdate" : "2020-06-05"});

About

Sample quiz project spring boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published