NodeJS API for skill sharee App.
- User
- post
- post's comment
- tag
- page
- events
I use babel Node for base of project. and this tutorials for create API.
try npm install
after that npm start
and enjoy! 😄
- Babel JS : ES6❤️ compiler
- Express : Node.js web application framework
- npm : node package manager
- Node.JS : Server side JS
- Mongoose : elegant mongodb object modeling for node.js
- Passport : Passport is authentication middleware for Node.js
- bcrypt-nodejs : A native JS bcrypt library for NodeJS.(for hash and salt password)
- express-restify-mongoose : Easily create a flexible REST interface for mongoose models
Back Up and Restore with MongoDB Tools Export (csv)
mongoexport --db skillsharee --collection users --type=csv --fields name,email,password --out /opt/backups/users.csv
Import (csv)
mongoimport --db skillsharee --collection users --type csv --headerline --file /opt/backups/users.csv