Skip to content

Latest commit

 

History

History
64 lines (37 loc) · 883 Bytes

readme.md

File metadata and controls

64 lines (37 loc) · 883 Bytes

Muskoka Grown COA API

This API will return lot data when provided with the lot number.

API Reference

Get data for a lot number

  GET /api/:lotNum

Refresh Database

Purges the current database, then pulls raw data from Google Sheets.

  GET /refresh

Authors

Tech Stack

Server: Node, Express, MongoDB, Google API, Google Auth

Run Locally

Clone the project

  git clone https://link-to-project

Go to the project directory

  cd my-project

Install dependencies

  npm install

Start the server

  npm run start

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DBSTRING - Your connection string for MongoDB.

SSID - For the target spreadsheet.