Skip to content

Instantly share code, notes, and snippets.

@drakulavich
Last active April 29, 2021 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drakulavich/026d3bc0fb9f7e16f8461cfe3d792f39 to your computer and use it in GitHub Desktop.
Save drakulavich/026d3bc0fb9f7e16f8461cfe3d792f39 to your computer and use it in GitHub Desktop.
Insomnia Workshop

Prerequirements

Please install the following tools:

We will use Medium.com clone called Conduit to test API during workshop. If you want to practice on your machine, please do the following steps.

Deploy Back-end/API on local machine

  1. Open terminal and clone github repo:
git clone https://github.com/drakulavich/spring-boot-realworld-example-app.git
  1. Change working directory:
cd spring-boot-realworld-example-app
  1. Run docker-compose to deploy the app on http://localhost:8080/
docker-compose up -d

To check that deployment went smoothly open page http://localhost:8080/tags

Deploy Front-end on local machine (optional)

  1. Open terminal and clone github repo:
git clone https://github.com/drakulavich/react-redux-realworld-example-app.git
  1. Change working directory:
cd react-redux-realworld-example-app
  1. Run docker-compose to deploy the front-end on http://localhost:4100/
docker-compose up -d

To check that deployment went smoothly open page http://localhost:4100/

Import Insomnia Workspace

  • Open Insomnia
  • Open Preferences → Data
  • Click Import Data → From URL
  • Paste the following URL https://raw.githubusercontent.com/drakulavich/spring-boot-realworld-example-app/workshop/Insomnia_conduit_workspace.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment