Skip to content

β±πŸ’ΈπŸ“Š – Secure the bag in real time

Notifications You must be signed in to change notification settings

peakshift/fovea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

77 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Getting Started

Prerequisites

  • Node.js
  • Serverless CLI

Environment Variables

Define these environment variables in serverless.env.yml file

dev:
  NODE_ENV
  MONGODB_URI
  MONGODB_DATABASE
  MONGODB_INVOICES_COLLECTION
  MONGODB_CLIENTS_COLLECTION

test:
  NODE_ENV
  MONGODB_URI
  MONGODB_DATABASE
  MONGODB_INVOICES_COLLECTION
  MONGODB_CLIENTS_COLLECTION

prod:
  NODE_ENV
  MONGODB_URI
  MONGODB_DATABASE
  MONGODB_INVOICES_COLLECTION
  MONGODB_CLIENTS_COLLECTION

Setup Project

  • npm install
  • serverless deploy -s dev

Tests

Run the tests using npm test

Linting

Run linting using ./node_modules/.bin/eslint "**/*.js"