initial commit
Some checks failed
Build Images and Deploy / Update-PROD-Stack (push) Failing after 17s

This commit is contained in:
2026-01-28 23:52:15 -05:00
commit 787c97a52f
13 changed files with 290 additions and 0 deletions

7
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5173
CMD ["npm", "run", "dev"]

12
frontend/index.html Normal file
View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>What's The Point</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>

17
frontend/package.json Normal file
View File

@@ -0,0 +1,17 @@
{
"name": "wtp-frontend",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"vite": "^5.0.0"
}
}

9
frontend/src/main.jsx Normal file
View File

@@ -0,0 +1,9 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
const App = () => <div style={{fontFamily: 'sans-serif', padding: 24}}>
<h1>What's The Point</h1>
<p>Welcome! The app is running.</p>
</div>;
ReactDOM.createRoot(document.getElementById('root')).render(<App />);