PetMe is a React + TypeScript + Vite app for tracking check-ins, browsing body systems, and viewing a "future self" reflection based on recent activity.
- Install a recent version of Node.js that includes
npm. - Install project dependencies:
npm install- Optional: create a
.env.localfile if you want AI-generated future-self messages while running locally:
VITE_OPENAI_API_KEY=your_api_key_hereIf this variable is not set, the app still runs and falls back to built-in messaging.
- Start the development server:
npm run dev- Open the local URL shown by Vite, usually
http://localhost:5173.
npm run devstarts the local development server.npm run buildcreates a production build.npm run previewserves the production build locally for testing.npm run lintruns ESLint across the project.
- React 19
- TypeScript
- Vite
- React Router
- Tailwind CSS
- Three.js / React Three Fiber