The API is built using Node.js and Express. It is hosted on an AWS EC2 instance.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them:
- Node.js
- npm
A step by step series of examples that tell you how to get a development environment running:
- Clone the repo
git clone https://github.com/jtsang02/Spatial-App.git
- Install NPM packages
npm install
In the project directory, you can run:
npm start
This runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The API is (or occasionally will be) hosted on an AWS EC2 instance. The base URL is:
http://ec2-3-134-88-136.us-east-2.compute.amazonaws.com:3000/
Here are some example API calls:
- POST a calculation:
POST /calculate