Skip to content

MongoLab MongoDB Mongoose Node.js Demo on Heroku

Notifications You must be signed in to change notification settings

fpena06/hello-mongoose

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-mongoose: Mongoose.js: elegant MongoDB object models for 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 this one-click deploy link 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