/16-19-auth

Primary LanguageJavaScript

Code Fellows 401

Authentication

This is a RESTful HTTP server with basic authentication using express.

Motivation

I was motivated by an extreme desire to learn web development which led me to enroll in this program which ultimately led me to this assignment.

Deployed

This application is live on the interwebs, deployed via Heroku. Check it out

Language

Javascript

Dependencies necessary

for production:

  • bcrypt
  • body-parser
  • dotenv
  • express
  • http-errors
  • jsonwebtoken
  • mongoose
  • winston

for development:

  • eslint
  • faker
  • jest
  • superagent

Features

many sweet features..

Installation / How to use

  • clone this repo to your machine
  • run npm install to install all dependencies
  • run npm run dbon to turn on the mongoDB server
  • run npm test to run tests

Tests

Tests will test for 200, 400 and 409 status codes on the POST route.

Contribute

If anyone wants to help, feel free to open a pull request and send it over. PRs will be answered in the order they are received.

Credits

Initial codebase created by the Vinincio Vladimir Sanchez Trejo. Mad props to anyone who helped me and my parents for birthing me.

Anything else that seems useful

You miss 100% of the shots you don't take. Wayne Gretzky.

-Michael Scott.

License

MIT License