- Start a local mongodb instance
mongod --dbpath=mongodb-2.2-demo/ &
- Run the server
node app
- Access the server using the following URLs
http://localhost:3000/rest/users
http://localhost:3000/rest/blogs
- Sample user credentials
If prompted for authorization, use :
user: strongloop password: password
Update config/config.js
exports.creds = { mongo: { 'hostname': 'localhost', // Host name 'port': 27017, // Port number 'username': '', 'password': '', 'name': '', 'db': 'sample-blog_development' // DB name } }