opensandiego / mealscount-backend

Optimizing a free-meal reimbursement program for K-12 schools
MIT License
12 stars 15 forks source link

Build frontend proxy #28

Closed nikolajbaer closed 4 years ago

nikolajbaer commented 4 years ago

Add a new npm target that uses a dev proxy to go to mealscount.com so that a frontend dev does not need to run the flask python task.

Reference: https://github.com/opensandiego/p2p-lending/blob/master/p2plending/frontend/webpack.config.js#L42

nikolajbaer commented 4 years ago

Quick turnaround! now run npm run start and skip all the python stuff and it proxies direct to mealscount.com for the API bits