This project is structured to handle a Node.js backend with Express and a React frontend.
- Server entry:
/backend/server.js - API routes:
/backend/routes - Services (e.g., payment gateways):
/backend/services - Environment variables:
.env(make sure to configure this)
- Main entry:
/frontend/src/index.js - Components:
/frontend/src/components - Pages:
/frontend/src/pages - Styles:
/frontend/src/styles
Configure your environment variables in the .env file.
npm start(backend)npm run build(frontend)