Skip to content

Commit

Permalink
Use Json server directly
Browse files Browse the repository at this point in the history
  • Loading branch information
sporto committed Sep 17, 2018
1 parent d9e1290 commit 58245b8
Show file tree
Hide file tree
Showing 3 changed files with 671 additions and 1,624 deletions.
13 changes: 0 additions & 13 deletions api.js

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -12,7 +12,7 @@
"elm-live": "^3.0.0"
},
"scripts": {
"api": "node api.js",
"api": "json-server --watch db.json --port 4000",
"build": "elm make ./src/Main.elm --output dist/app.js",
"client": "elm-live ./src/Main.elm --output=dist/app.js --pushstate",
"start": "nf start"
Expand All @@ -27,4 +27,4 @@
"url": "https://github.com/sporto/elm-tutorial-app/issues"
},
"homepage": "https://github.com/sporto/elm-tutorial-app#readme"
}
}

0 comments on commit 58245b8

Please sign in to comment.