A simple React application using Tanstack Query for form handling and data fetching.
- React 19
- TypeScript
- Tanstack Query
- React Router
- Axios for API calls
- Canvas Confetti for celebrations
- Node.js (v20.18.1 - specified in .nvmrc)
- npm or pnpm
- Clone the repository
- Install dependencies:
# Install root project dependencies
npm install
# or
pnpm install
# Install server dependencies
cd server
npm install
# or
pnpm install
cd ..- Start the development server:
npm start
# or
pnpm startThis will start both the React development server and the backend server concurrently.
The application follows a standard React project structure with the following key components:
/src- Main source code directory/pages- React components for different routes:ConnectAccount- Initial account connection pageVerifyEmail- Email verification pageChoosePlan- Plan selection pageSuccess- Success confirmation page
App.tsx- Main application component with routing setupApp.css- Main application stylesReset.css- CSS reset styles
npm start- Runs the app in development mode with both frontend and backend serversnpm build- Builds the app for productionnpm test- Runs the test suitenpm eject- Ejects from Create React App
Key dependencies include:
- @tanstack/react-query v5.80.7
- react v19.1.0
- react-router-dom v7.6.2
- axios v1.9.0
- canvas-confetti v1.9.3
The application is configured to support:
- Production: All browsers with >0.2% market share
- Development: Latest versions of Chrome, Firefox, and Safari