Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1022 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 1022 Bytes

UniSwipe Frontend Application

By: Kai Davidson, Sarah Kogan, and Dominic Ranelli

CS539 Project Frontend

Getting Started

Make sure that you have node installed and npm package manager. Then cd into the root directory of the repository and run:

npm install .

After this has run, to start the server run:

npm run dev

Connecting to the Model API

To connect the model API you just need to set an environment variable for where you are running the model. The model repository is available here for download. In the root directory of this repository, navigate to the .env.local file. Replace the value of the variable with the address and port of where your server is running. Now, if rerun your website with the environment variable properly populated, you should be retrieving schools from the model and able to swipe on the site. Make sure the Flask API is fully initialized and running and reload the page if needed to connect them properly.