feat: initialize React client with Vite setup
- Added package.json with dependencies for React, Vite, TypeScript, and ESLint. - Included Vite logo SVG and React logo SVG in the public and assets directories respectively. - Created main application component (App.tsx) with basic structure and state management. - Added global styles in index.css and component-specific styles in App.css. - Configured TypeScript with tsconfig files for app and node environments. - Set up Vite configuration for development server with specified host and port.
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
services:
|
||||
client:
|
||||
container_name: react-client
|
||||
build: ./client
|
||||
ports:
|
||||
- "5001:5001"
|
||||
environment:
|
||||
- CHOKIDAR_USEPOLLING=true
|
||||
volumes:
|
||||
- ./client:/app
|
||||
- /app/node_modules
|
||||
restart: unless-stopped
|
||||
|
||||
backend:
|
||||
bikelane-backend:
|
||||
container_name: bikelane-backend
|
||||
build: ./backend
|
||||
ports:
|
||||
- "4000:4000"
|
||||
- "5002:5002"
|
||||
environment:
|
||||
DB_HOST: mysql
|
||||
DB_USER: root
|
||||
|
Reference in New Issue
Block a user