Skip to content

Source code for the syncmarx authentication API backend

License

Notifications You must be signed in to change notification settings

Cleod9/syncmarx-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

syncmarx-api

What it does

This repo contains the Node.js backend API service required by the syncmarx web extension.

The production environment currently resides at syncmarx.gregmcleod.com. The API also has a front-end interface located under the public/ folder that is shown at this domain.

How to Run

First install latest version of Node.js. Then run the following via command-line:

npm install
npm run start

This will start a simple HTTP server listening for incoming requests based on the settings you provide in the config/default.yaml (or config/[NODE_ENV].yaml if you supply a custom NODE_ENV environment variable).

The syncmarx extension utilizes this API in order to make the initial handshake require to obtain an API token for the desired third party service (Dropbox, Google Drive, Box, etc.).

When using in a production environment, make sure to place the app behind a secure HTTPS layer using a proxy.