/auth-api

Primary LanguageJavaScriptMIT LicenseMIT

Lab 8 - Access Control

Author: Chris Gantt


Setup

.env requirements

  • PORT - Port Number
  • MONGODB_URI - mongodb://localhost:27017/<dbname>
  • SECRET - <secretkey of your choice>

Running the app

npm run start

Endpoints: /signin /signup /users /secret


Tests

Unit Tests: npm run test