$ use signin
$ db.createUser({user: 'lintang', pwd: '1234', roles: ['readWrite', 'dbAdmin']})
$ db.createCollection('users')
$ git clone https://github.com/LintangWisesa/Express-MongoDB-Authentication.git
$ cd Express-MongoDB-Authentication
$ npm install
4. Edit Express app route on routes/router.js! Make sure there is no error on your app by running app.js. Server will be running by default on localhost:3210!
$ node app
5. Open localhost:3210 via browser. If everything goes well, the response will be similar to the picture below:
Lintang Wisesa 💌 lintangwisesa@ymail.com
Facebook | Twitter | Google+ | Youtube | :octocat: GitHub | Hackster