MEAN stack app - social network and chat (in development). Server side.
A user is able to sign up / log in / log out (secured by route guards, and 401 unauthorized status)
A user is able to view his own profile
A user is able to edit his own profile (edit, create, delete information)
@todo
A user is able to see profile of other users
A user is able to add/delete friends
A user can edit his profile picture (image upload)
A user can chat with all connected users in common conversation (broadcast)
A user can delete his profile
List of all app server-side parts:
- auth.js
- user.js
- index.js (server-side home page)
- User
const userSchema = new Schema({
name: { type: String, required: true },
cityOfResidence: { type: String, required: true },
cohort: { type: String, required: true, enum: ['...'] },
email: { type: String, required: true },
password: { type: String, required: true },
picture: { type: String, default: "..." },
work: {type: String, default: '...'},
about: {type: String, default: '...'},
likes: {type: String, default: '...'},
myStory: {type: String, default: '...'},
skills: [String]
})
The app can be accessed here: https://hackbook-app.herokuapp.com/