Skip to content

hotaru355/statserverJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

statserver

Take Home Assignment from LDRLY

Instructions for local setup:

  • Node and MongoDb need to be installed
  • if not already done, install express module globally: $npm install -g express
  • install project dependencies: $cd /path/to/statserverJs $npm install
  • insert the data into MongoDb $mongo localhost:27017/ldrly /path/to/statserverJs/mongodb/createUsers.js $mongo localhost:27017/ldrly /path/to/statserverJs/mongodb/createStats.js
  • run the Node server: $node app.js
  • test the server with curl or a browser plugin such as Chrome's 'Advanced REST Client'

test

Usage

Developing

Tools

Created with Nodeclipse (Eclipse Marketplace, site)

Nodeclipse is free open-source project that grows with your contributions.

About

A small REST server in Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published