Coder Social home page Coder Social logo

akshaymittal143 / backend-webservice-using-node-and-express Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 8.54 MB

This is a project for web services using Node and Express with other dependencies

JavaScript 96.10% CSS 1.12% HTML 2.78%
nodejs express mongodb rest-api postman gulp mocha-tests supertest nodemon sinon-js

backend-webservice-using-node-and-express's Introduction

Backend Webservice using NodeJs and Express

StackShare Build Status NPM version Dependency Status devDependency Status PRs Welcome

Getting Started

  • npm start Will begin the server process using Nodemon.
  • or gulp Gulp should open a new browser window for you, but if it doesn't, just point your browser to: localhost:3000
  • I used postman for testing the API

Dependencies

  • node.js
  • express
  • mongoose
  • body-parser
  • gulp
  • gulp-nodemon
  • sinon
  • gulp-mocha
  • gulp-env
  • supertest
  • First install node.js and mongodb. Then:
$ npm init
$ npm install express --save
$ npm install mongoose --save
$ npm install body-parser --save
$ npm install gulp --save
$ npm install gulp-nodemon --save
$ npm install gulp-mocha should sinon --save-dev
$ npm install gulp-env --save-dev
$ npm install supertest --save

To Run tests

  • npm test

Setting up database

  • Install MongoDB from here
  • Create a C:/data/db folder
  • Add Mongo folder to PATH
  • Run mongod
  • Run mongo
  • Install Robo3t for MongoDB GUI
  • create a database (eg. eventAPI)

backend-webservice-using-node-and-express's People

Contributors

akshaymittal143 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.