Skip to content

MarcHurst/COA

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published