Compare commits
No commits in common. "edc58e225b6d825ccfd3eb6ee1e858cd41972711" and "ed55974d89cf20ab6263526590312b487b2d12cb" have entirely different histories.
edc58e225b
...
ed55974d89
@ -1,28 +0,0 @@
|
||||
node_modules
|
||||
.pnpm
|
||||
npm-debug.log
|
||||
.env
|
||||
.dockerignore # keep this file
|
||||
.git
|
||||
.gitignore
|
||||
.vscode/
|
||||
.idea/
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
dist/
|
||||
build/
|
||||
tmp/
|
||||
temp/
|
||||
*.log
|
||||
*.zip
|
||||
*.tar
|
||||
*.gz
|
||||
tests/
|
||||
docs/
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
__pycache__/
|
||||
*.pyc
|
||||
target/
|
||||
*.class
|
||||
fusero-backend/node_modules
|
11
Dockerfile
11
Dockerfile
@ -1,11 +0,0 @@
|
||||
FROM node:24-alpine
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install -g pnpm
|
||||
RUN pnpm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 5173
|
||||
CMD ["pnpm", "run", "dev"]
|
@ -1,24 +0,0 @@
|
||||
services:
|
||||
frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- '5000:5173'
|
||||
volumes:
|
||||
- .:/app
|
||||
- /app/node_modules
|
||||
environment:
|
||||
- PORT=5173
|
||||
|
||||
backend:
|
||||
build:
|
||||
context: ./fusero-backend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- '3001:3001'
|
||||
volumes:
|
||||
- ./fusero-backend:/app/fusero-backend
|
||||
- /app/fusero-backend/node_modules
|
||||
environment:
|
||||
- PORT=3001
|
@ -1,27 +0,0 @@
|
||||
node_modules
|
||||
.pnpm
|
||||
npm-debug.log
|
||||
.env
|
||||
.dockerignore # keep this file
|
||||
.git
|
||||
.gitignore
|
||||
.vscode/
|
||||
.idea/
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
dist/
|
||||
build/
|
||||
tmp/
|
||||
temp/
|
||||
*.log
|
||||
*.zip
|
||||
*.tar
|
||||
*.gz
|
||||
tests/
|
||||
docs/
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
__pycache__/
|
||||
*.pyc
|
||||
target/
|
||||
*.class
|
@ -1,11 +0,0 @@
|
||||
FROM node:24-alpine
|
||||
WORKDIR /app/fusero-backend
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install -g pnpm
|
||||
RUN pnpm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3001
|
||||
CMD ["pnpm", "run", "start"]
|
@ -1,3 +1,4 @@
|
||||
|
||||
import fastify from 'fastify';
|
||||
|
||||
const server = fastify();
|
||||
@ -8,8 +9,8 @@ server.get('/', async (request, reply) => {
|
||||
|
||||
const start = async () => {
|
||||
try {
|
||||
await server.listen({ port: 3001 });
|
||||
console.log('Server listening on http://localhost:3001');
|
||||
await server.listen({ port: 3000 });
|
||||
console.log('Server listening on http://localhost:3000');
|
||||
} catch (err) {
|
||||
server.log.error(err);
|
||||
process.exit(1);
|
||||
|
6
postcss.config.js
Normal file
6
postcss.config.js
Normal file
@ -0,0 +1,6 @@
|
||||
export default {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
};
|
@ -1,11 +1,7 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
port: 5173,
|
||||
},
|
||||
});
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user