Running Locally
First, run the following two commands:
git clone https://github.com/lnagle93/GenomEats.git
cd GenomEats/
Then, set up accounts with these APIs:
- Spoonacular (via Mashape)
- Genome Link API.
Once you've received a key for the former and registered an app for the latter,
create a .env file and populate like so:
GENOMELINK_CLIENT_ID=<your_id>
GENOMELINK_CLIENT_SECRET=<your_secret>
GENOMELINK_CALLBACK_URL=http://127.0.0.1:3000/callback
MASHAPE_KEY=<your_key>
Then, run:
npm i
npm start
Finally, in a browser, navigate to http://127.0.0.1:3000/ and you're ready to go!