Giter VIP home page Giter VIP logo

hackbook-social-network-server's Introduction

hackbook-social-network-server

MEAN stack app - social network and chat (in development). Server side.

MVP

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

BACKLOG

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

App parts

List of all app server-side parts:

Routes + Contollers

  • auth.js
  • user.js
  • index.js (server-side home page)

Models

  • 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]

})

LINK

The app can be accessed here: https://hackbook-app.herokuapp.com/

hackbook-social-network-server's People

Contributors

alemarketa avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.