Skip to content

Commit 75d06a2

Browse files
author
AugistineCreates
committed
feat(search-service): add full-text search microservice with Elasticsearch integration, Dockerfile, and basic endpoints
1 parent 807d71e commit 75d06a2

10 files changed

Lines changed: 9291 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM node:20-alpine AS builder
2+
WORKDIR /app
3+
COPY package*.json ./
4+
RUN npm ci
5+
COPY . .
6+
RUN npm run build
7+
8+
FROM node:20-alpine
9+
WORKDIR /app
10+
COPY --from=builder /app/dist ./dist
11+
COPY --from=builder /app/package*.json ./
12+
RUN npm ci --production
13+
CMD ["node", "dist/main"]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Search Service
2+
3+
This microservice provides full‑text search, filtering, faceting, autocomplete and analytics using Elasticsearch.

0 commit comments

Comments
 (0)