implemented first tests and basic functionality
This commit is contained in:
		
							
								
								
									
										17
									
								
								src/test/db.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/test/db.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
{
 | 
			
		||||
  "collections": {
 | 
			
		||||
    "users": [
 | 
			
		||||
      {
 | 
			
		||||
        "_id": "5ea0450ed851c30a90e70894",
 | 
			
		||||
        "email": "jane.doe@bosch.com",
 | 
			
		||||
        "name": "janedoe",
 | 
			
		||||
        "pass": "$2a$10$KDKZjCsgDXwhtKdXZ9oG2ueDuCZsRKOMSqHuBfCM/2R0V6DRns.sy",
 | 
			
		||||
        "level": "write",
 | 
			
		||||
        "location": "Rng",
 | 
			
		||||
        "device_name": "Alpha I",
 | 
			
		||||
        "key": "5ea0450ed851c30a90e70899",
 | 
			
		||||
        "__v": 0
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user