A full-stack flashcard application built with the MERN stack to help students learn various subjects through interactive flashcards.
💡 Replace
YOUR_DEPLOYMENT_URL_HEREwith your actual deployment URL from Render or other hosting service.
- 📚 Multiple subject categories (Amino Acids, Functional Groups, Physics, Biology, Web Development)
- 🔄 Random flashcard selection for effective learning
- 💾 MongoDB database for persistent storage
- ⚡ Fast and responsive React frontend
- 🎨 Clean and intuitive user interface
- 🌐 RESTful API architecture
Frontend:
- React.js
- Modern JavaScript (ES6+)
Backend:
- Node.js
- Express.js
- MongoDB with Mongoose ODM
- CORS enabled for cross-origin requests
Before running this application, make sure you have:
- Node.js (v14 or higher recommended)
- MongoDB installed and running
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/YOUR-USERNAME/FlashCard.git cd FlashCard -
Install server dependencies
npm install
-
Install client dependencies
cd client npm install cd ..
-
Configure environment variables
Create a
.envfile in the root directory:DB_CONNECTION=your_mongodb_connection_string ORIGIN=http://localhost:3000 PORT=5000
-
Run the application
Development mode (with auto-reload):
npm run dev
Production mode:
npm start
-
Access the app
- Frontend:
http://localhost:3000 - Backend API:
http://localhost:5000
- Frontend:
FlashCard/
├── client/ # React frontend
├── models/ # MongoDB schemas
├── routes/ # Express API routes
├── server.js # Express server setup
└── package.json # Server dependencies
/aminoacids- Amino acids flashcards/functionalgroups- Functional groups flashcards/physics- Physics concepts flashcards/biology- Biology flashcards/webdev- Web development flashcards
Contributions are welcome! Feel free to submit issues and pull requests.
ISC License
julia h
Happy Learning! 📖✨