Skip to content

jobquery-enhance/jobquery-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jobQuery Server

RESTful API backend for jobQuery

Usage

See the client README for full instructions.

  1. Install dependencies with npm install.
  2. Start your local instance of MongoDB (mongod).
  3. Start the server by typing node server.js in the root folder.

Features

  1. User authentication with JSON web tokens
  2. User invitations
  3. Password reset
  4. Public and private routes

Technology Stack

  • Node.js with Express.js
  • MongoDB with Mongoose

Developer Tools

Morgan is express middleware which aids in debugging by logging HTML requests into the terminal. JobQuery currently uses the dev format:

:method :url :status :response-time ms - :res[content-length]
POST /login 200 269.680 ms - 293