HUB
Sign inSign up

karthikeya2100/crud-react

By karthikeya2100

•Updated about 2 years ago

Simple front end interface to perform CRUD operations.

Image
API management
Web analytics
0

386

karthikeya2100/crud-react repository overview

Github link:
https://github.com/karthikeya0800/CRUD-React⁠

Endpoints:

  • /api/items is to get all items
  • /api/add-item is to add item
  • /api/update-item/:id is to update item
  • /api/delete-item/:id is to delete item

Default server port is 3000

Default client port is 5173

Environment variables:

Sample docker-compose.yml file:

version: '3'
services:
  frontend:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: crud-react
    environment:
      - API_URL=http://localhost:9000
      - BACKEND_FRAMEWORK=Express.js
    ports:
      - '5173:5173'
    volumes:
      - ./frontend:/app/dist
Tag summary
Recent tags
Content type
Image
Digest
sha256:765a7a60a…
Size
469.5 MB
Last updated
about 2 years ago
docker pull karthikeya2100/crud-react:latest