A Node.js RESTful API made using Express, MongoDB, and Mongoose
It stores and retrieves YouTube subscriber data and supports GET/, GET/:id/, POST/, PATCH/:id/, and DELETE/:id/ routes
name: {
type: String,
required: true,
},
subscriberToChannel: {
type: String,
required: true,
},
subscribeDate: {
type: Date,
required: true,
default: Date.now,
}
git clone https://github.com/2bit-hack/node-sub-api.git
npm install
touch .env
// export DATABASE_URL=mongodb://path/to/database
npm start run