- Frontend: React
- Backend: Node + Express
- Database: MongoDB
- Authentication: Firebase Auth
- Node.js: Required for Frontend and Node.js backends.
- Python: Required if using Flask or Django.
- Database: Ensure MongoDB is running locally or you have a cloud connection string.
A local .env file has been generated with your configuration.
Check the .env file in the root to ensure your keys and connection strings are correct.
cd server
# Install dependencies (if not already installed)
npm install
# Start Server
npm startcd client
# Install dependencies
npm install
# Start Development Server
npm start- Open two terminal windows.
- In the first window, start the backend (see above).
- In the second window, start the frontend (see above).
- Open your browser to the URL shown in the frontend terminal (usually http://localhost:3000 or 5173).
project_subscription/
├── client/ # Frontend Application
├── server/ # Backend Application
├── .env # Environment Variables
└── README.md # This file
- Connection Refused: Check if your database is running and the connection string in
.envis correct. - Port In Use: If port 5000 or 3000 is taken, update
.envor the start scripts.
Enjoy coding! 🚀