refactor: migrate from Next.js to SolidJS and GraphQL
- Converted web application from Next.js to SolidJS with Vite - Replaced React components with SolidJS components - Implemented GraphQL client using URQL - Added authentication, room, and chat components - Updated project structure and configuration files - Removed unnecessary Next.js and docs-related files - Added Docker support for web and API applications
This commit is contained in:
parent
8f3aa2fc26
commit
16731409df
81 changed files with 13585 additions and 1163 deletions
17
apps/api/Dockerfile
Normal file
17
apps/api/Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM node:22-alpine AS base
|
||||
|
||||
# Rebuild the source code only when needed
|
||||
FROM base
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Generate Prisma client
|
||||
RUN npm run prisma:generate
|
||||
|
||||
# Build the project
|
||||
RUN npm run api:build
|
||||
|
||||
# Start the server
|
||||
ENTRYPOINT [ "npm", "run", "api:start" ]
|
Loading…
Add table
Add a link
Reference in a new issue