React frontend for Spinach — project management with an AI assistant (Spina).
Live app: https://spinach.ddns.net/
Backend repo: https://github.com/coder-Rit/spinach-server
- React 18 + TypeScript
- React Router
- Tailwind CSS
- Lucide icons
- Node.js 18+
- npm
- Spinach API running (see spinach-server)
-
Clone the repository:
git clone https://github.com/coder-Rit/spinach-client.git cd spinach-client -
Install dependencies:
npm install
-
Create a
.envfile in the project root:REACT_APP_API_BASE_URL=http://localhost:9000 REACT_APP_SITE_URL=https://spinach.ddns.net
REACT_APP_API_BASE_URL— backend API URL (include/api/v1only if your client expects it; this project uses the base host and paths like/api/v1/...in services).REACT_APP_SITE_URL— public site URL for SEO (canonical, Open Graph, sitemap).
-
Start the development server:
npm start
npm run buildThe prebuild step generates sitemap.xml and robots.txt from REACT_APP_SITE_URL.
Serve the build/ folder with any static host (Netlify, nginx, etc.).
On startup the backend seeds a default user (if missing):
- Email:
john.doe@spinach.ddns.net - Password:
johndoe123
Use Continue as John Doe on the home or login page.
src/pages/— routes (Home, Chat, Login, projects)src/components/— UI includingSpinachLogo(shared favicon branding)src/config/site.ts— SEO and GitHub linkspublic/— favicon, manifest, static SEO assets