Public Access
490fa2fa93950650ebce6f1107f0642bfd86342b
Add a multi-stage Dockerfile to build the React app (node:24-alpine, npm ci, npm run build) and serve the compiled /app/dist via nginx:alpine. Include nginx.conf that routes unknown paths to /index.html so React Router works in a SPA. Add a CI workflow (.forgejo/workflows/docker-publish.yml) to build and push the Docker image to Codeberg Container Registry on pushes to main (requires CODEBERG_TOKEN repository secret and tags the image as codeberg.org/${{ github.repository }}:latest).
To Be Played - Frontend
A modern web application to manage your game backlog, built with React and Vite.
🚀 Tech Stack
- Framework: React
- Build Tool: Vite
- Styling: Tailwind CSS 4
- Icons: Material Design Icons (MDI)
📂 Project Structure
├── public/ # Static assets (favicons, icons)
├── src/
│ ├── assets/ # Images and global media
│ ├── components/ # Reusable React components
│ ├── App.jsx # Main application layout and entry component
│ ├── main.jsx # App initialization (React DOM, Styles)
│ └── style.css # Global Tailwind and custom CSS
├── index.html # Entry HTML file
├── package.json # Dependencies and scripts
└── vite.config.js # Vite configuration
🛠️ Development
Setup
npm install
Start Development Server
npm run dev
Build for Production
npm run build
Languages
JavaScript
96.7%
CSS
3.2%