ignite-json-server
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "ignite-json-server", | ||
"description": "An Ignite plugin that installs json-server as a development dependency to your Ignited app.", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "files": [ |
@@ -14,5 +14,5 @@ # ignite-json-server | ||
3. Open a new terminal screen and start json-server with this command: `yarn|npm run json-server`. This will start a json-server instance that you can access via API endpoints if you integrate them into your application. The default settings for json-server are in `JsonServer/json-server.json`. Here is where you set the host and port settings for json-server. I recommend installing [Postman](https://www.getpostman.com/) to test json-server. | ||
3. Open a new terminal screen and start json-server with this command: `yarn|npm run json-server`. This will start a json-server instance that you can access via API endpoints if you integrate them into your application. The default settings for json-server are in `JsonServer/json-server.json`. Here is where you set the host and port settings for json-server. I recommend installing [Postman](https://www.getpostman.com/) to test json-server. | ||
4. Read the docs for [JSON-Server](https://github.com/typicode/json-server). You can modify the JSON file used by json-server here: `JsonServer/db.json`. Set up routes if you need them by modifying `JsonServer/routes.json`. | ||
4. Read the docs for [JSON-Server](https://github.com/typicode/json-server). You can modify the JSON file used by json-server here: `JsonServer/db.json`. Set up routes if you need them by modifying `JsonServer/routes.json`. | ||
@@ -19,0 +19,0 @@ 5. If you elected to integrate json-server with the dev screens, a middleware file is added to JsonServer/devScreenIntegration.js. This file is referenced in the startup script: |
21759