Favicon of Hoppscotch (Elestio)

Hoppscotch (Elestio)

Accelerate your API development with a free, open-source ecosystem. Create requests, write pre/post-request scripts, and manage environments with ease.

Hoppscotch is a lightweight, open-source API development ecosystem designed to make building and testing APIs faster and more accessible. It provides a clean and intuitive interface directly in your browser, eliminating the need for heavy desktop applications.

Create and send any type of HTTP request with a powerful request builder that supports parameters, headers, various body types, and multiple authorization methods. Automate your workflows and perform complex validations using pre-request and post-request JavaScript scripts.

Key features include:

  • Environments and Variables: Easily switch between different setups like development, staging, and production without manually changing your requests.
  • API Collections: Organize your API requests into collections for better management and collaboration.
  • Real-time GraphQL: Test your GraphQL endpoints with support for queries, mutations, and subscriptions.
  • Code Snippet Generation: Instantly generate client code for your requests in various languages and frameworks.

As a completely free and open-source tool, Hoppscotch offers a powerful alternative for developers and teams looking for an efficient API testing solution.

Directory Structure

hoppscotch-elestio
hoppscotch
postgres-data
.env
docker-compose.yml

docker-compose.yml

services:
  hoppscotch-db:
    image: postgres:14-alpine
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: hoppscotch
    volumes:
      - ./postgres-data:/var/lib/postgresql/data
    restart: unless-stopped

  hoppscotch-backend:
    image: elestio/hoppscotch-backend:latest
    environment:
      DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@hoppscotch-db:5432/hoppscotch
      JWT_SECRET: ${JWT_SECRET}
      SESSION_SECRET: ${SESSION_SECRET}
      TOKEN_SALT_COMPLEXITY: 10
      MAGIC_LINK_TOKEN_VALIDITY: 3
      REFRESH_TOKEN_VALIDITY: 604800000
      ACCESS_TOKEN_VALIDITY: 86400000
      REDIRECT_URL: http://localhost:3000
      VITE_BASE_URL: http://localhost:3000
      VITE_BACKEND_GQL_URL: http://localhost:3170/graphql
      VITE_BACKEND_WS_URL: ws://localhost:3170/graphql
      VITE_BACKEND_API_URL: http://localhost:3170/v1
    depends_on:
      - hoppscotch-db
    ports:
      - "3170:3170"
    restart: unless-stopped

  hoppscotch-app:
    image: elestio/hoppscotch-app:latest
    environment:
      VITE_BASE_URL: http://localhost:3000
      VITE_BACKEND_GQL_URL: http://localhost:3170/graphql
      VITE_BACKEND_WS_URL: ws://localhost:3170/graphql
      VITE_BACKEND_API_URL: http://localhost:3170/v1
    ports:
      - "3000:3000"
    depends_on:
      - hoppscotch-backend
    restart: unless-stopped

.env

POSTGRES_USER=hoppscotch_user
POSTGRES_PASSWORD=your_super_secret_db_password
JWT_SECRET=your_super_secret_jwt_string_change_me
SESSION_SECRET=your_super_secret_session_string_change_me
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Hoppscotch (Elestio)

Favicon

 

  
  
Favicon

 

  
  
Favicon