Skip to content

Commit

Permalink
Added dev server proxy and npm script for API
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Jul 26, 2020
1 parent b5c8b3b commit a63c80c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "webqueue2-cra-test",
"homepage": "/qwebtest/",
"proxy": "http://localhost:5000/",
"version": "0.1.0",
"private": true,
"dependencies": {
Expand All @@ -18,6 +19,7 @@
},
"scripts": {
"start": "react-scripts start",
"start-api": "cd api/ && venv/bin/gunicorn -b 127.0.0.1:5000 api:app",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
Expand Down

0 comments on commit a63c80c

Please sign in to comment.