Backend implementation

This commit is contained in:
Stefan Hardegger
2025-07-21 10:46:11 +02:00
parent 68c7c8115f
commit bebb799784
29 changed files with 10303 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
RUN npm ci --omit=dev
COPY . .
RUN npm run build

View File

@@ -1,13 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
appDir: true,
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: `${process.env.NEXT_PUBLIC_API_URL}/api/:path*`,
destination: 'http://backend:8080/api/:path*',
},
];
},

6066
frontend/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff