Skip to content

Eseoghene94/Educare

Repository files navigation

Project Overview

To ensure your README.md captures both the frontend and Node.js backend aspects of your project, you need to clearly describe the structure, setup, and features of both parts. Here's an updated version of your README.md:

educare-logo

Bridging Knowledge, Building Dreams

Educonect


About ✍️

Educare is a comprehensive platform tailored specifically for students. It combines a frontend built with modern web technologies and a Node.js backend to provide a seamless experience for students to ask questions, share knowledge, and collaborate.


Features 🌠

Here’s what makes Educare stand out:

Frontend Features

  • 📖 Ask & Answer: Students can post questions in different subjects (e.g., math, science, literature). Other students can answer these questions, share explanations, or suggest study resources.

  • 🏆 Upvotes & Badges: Students can upvote helpful answers, encouraging quality content.

  • 🌐 Subject Categories & Search: Questions are organized by subject categories (e.g., math, biology, history) for easy browsing. A search bar allows students to quickly find specific topics or questions.

  • 🤖 AI Assistance: Use cutting-edge AI technology to get instant solutions and insights into complex concepts.

Backend Features

  • 🚀 RESTful API: The backend provides a RESTful API to handle user authentication, question posting, answer submission, and upvoting.

  • 🔒 Authentication & Authorization: Secure user authentication and authorization using JWT (JSON Web Tokens).

  • 🗃️ Database Integration: MongoDB is used to store user data, questions, answers, and other relevant information.

  • 🤖 AI Integration: The backend integrates with AI services to provide instant solutions and insights.


Project Structure 🗂️

Educare/
├── frontend/               # Frontend code (React, Next.js, etc.)
│   ├── public/             # Static assets (images, logos, etc.)
│   ├── src/                # Source code for the frontend
│   │   ├── components/     # Reusable UI components
│   │   ├── pages/          # Application pages
│   │   ├── styles/         # CSS or Tailwind styles
│   │   └── utils/          # Utility functions
│   └── package.json        # Frontend dependencies
│
├── backend/                # Backend code (Node.js, Express, etc.)
│   ├── controllers/        # Request handlers
│   ├── models/             # Database models (Mongoose schemas)
│   ├── routes/             # API routes
│   ├── middleware/         # Custom middleware (e.g., authentication)
│   ├── utils/              # Utility functions
│   └── package.json        # Backend dependencies
│
├── README.md               # Project documentation
└── package.json            # Root-level dependencies (if any)

Setup 🛠️

Frontend Setup

  1. Navigate to the frontend directory:

    cd frontend
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm start
  4. Open your browser and visit:

    http://localhost:3000

Backend Setup

  1. Navigate to the backend directory:

    cd backend
  2. Install dependencies:

    npm install
  3. Start the backend server:

    npm start
  4. The backend API will be available at:

    http://localhost:5000

Environment Variables 🔑

To run the project, you need to set up environment variables. Create a .env file in the backend directory with the following variables:

# Backend .env file
PORT=5000
MONGO_URI=mongodb://localhost:27017/educare
JWT_SECRET=your_jwt_secret_key
AI_API_KEY=your_ai_api_key

Contribution 🤝

We welcome contributions! Here's how you can contribute:

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature/your-feature-name
  3. Make your changes and commit them:

    git commit -m "Add your feature"
  4. Push your changes to your fork:

    git push origin feature/your-feature-name
  5. Open a pull request on GitHub.


Login details: email: user@educare.com password: User123

Technologies Used 🛠️

Frontend

  • React.js or Next.js: For building the user interface.
  • Tailwind CSS: For styling the components.
  • Axios: For making API requests to the backend.

Backend

  • Node.js: For the server-side runtime.
  • Express.js: For building the RESTful API.
  • MongoDB: For database storage.
  • Mongoose: For object data modeling.
  • JWT: For user authentication and authorization.

License 📄

This project is licensed under the MIT License. See the LICENSE file for details.

About

Transitioning the Nigerian Educational System

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors