/skillsharee

simple social network API with NodeJS , Express , MongoDB

Primary LanguageJavaScriptISC LicenseISC

Skill Sharee API

NodeJS API for skill sharee App.

Entities

  1. User
  2. post
  3. post's comment
  4. tag
  5. page
  6. events

Getting Started

I use babel Node for base of project. and this tutorials for create API.

try npm install after that npm start and enjoy! 😄

Tools and Technologies

  • 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

Import/Export in MongoDB

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