collectivenectar / react-projects

A repo for web apps with react
MIT License
4 stars 0 forks source link

Back End Discussion #8

Open collectivenectar opened 2 years ago

collectivenectar commented 2 years ago

Just wanted to kick off the discussion for the back end.

We have two services planned for the proposed 'resources + meeting scheduler' app.

What sort of backend would we need for each service? For example, when it comes to the resources function, we need crud functionality, so what would be the data model for the resources themselves? Like for a Mongoose schema:

const Resource = new mongoose.Schema({
  title: {
    type: String,
    required: true
  },
  content: {
    type: String,
    required: true
  },
  url: {
    type: String,
    required: true
}
  date: {
    type: Date,
    default: Date.now
  }
})

This is just to get the ball rolling, if you want to discuss the meeting scheduler/countdown backend, please share that too!