Skip to content

rafaelfernandesnet/hello-mongoose

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-mongoose: Using Mongoose.js for elegant MongoDB object modeling in Node.js.

MongoDB and Node.js are often used together because of their shared use of Javascript and its Object Notation (JSON). Mongoose is a popular helper library that provides a more rigorous modeling environment for your data, enforcing a little bit more structure as needed, while still maintaining flexibility that makes MongoDB powerful. In this article, you make a connection to a hosted MongoDB instance at add-on provider MongoLab with Mongoose and model a simple object.

Deployment

To deploy the app to Heroku you can use the Heroku button Deploy or follow these steps:

  1. git clone git://github.com/mongolab/hello-mongoose.git && cd hello-mongoose
  2. heroku create
  3. heroku addons:add mongolab
  4. git push heroku master
  5. heroku open

License

MIT Licensed

About

MongoLab MongoDB Mongoose Node.js Demo on Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%