added GET /user route
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
import mongoose from 'mongoose';
 | 
			
		||||
 | 
			
		||||
const UserSchema = new mongoose.Schema({
 | 
			
		||||
  name: String,
 | 
			
		||||
  name: {type: String, index: {unique: true}},
 | 
			
		||||
  email: String,
 | 
			
		||||
  pass: String,
 | 
			
		||||
  key: String,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user