Skip to content

Commit

Permalink
FIRST COMMIT
Browse files Browse the repository at this point in the history
  • Loading branch information
pjdpaulsagnik committed Oct 19, 2021
0 parents commit 385c0b2
Show file tree
Hide file tree
Showing 1,224 changed files with 277,001 additions and 0 deletions.
23 changes: 23 additions & 0 deletions blog.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
const mongo = require('mongoose');

const schema = mongo.Schema;

const blogSchema = new schema(
{
title : {
type : String,
required : true
},
description : {
type : String,
required : true
}
},
{
timestamps : true
}
)

const blogModel = mongo.model('blogModel', blogSchema);

module.exports = blogModel;
15 changes: 15 additions & 0 deletions node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions node_modules/.bin/mime.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions node_modules/.bin/mime.ps1

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions node_modules/@types/node/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions node_modules/@types/node/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 385c0b2

Please sign in to comment.