Coder Social home page Coder Social logo

devvspaces / eduhub Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 11.0 880 KB

An open-source educational platform that provides access to a wide range of courses and learning materials. EduHub should support features like user profiles, course creation, progress tracking, quizzes, and discussions.

License: Apache License 2.0

JavaScript 84.76% HTML 3.49% SCSS 10.33% CSS 1.42%
hacktoberfest

eduhub's Introduction

EduHub

An open-source educational platform that provides access to a wide range of courses and learning materials. EduHub should support features like user profiles, course creation, progress tracking, quizzes, and discussions.

Environment Files

  • Every project has some special content that is not displayed to public. These "secrets" are usually placed inside the environment file of the project.
  • Since backend and frontend of a project are supposed to be loosely coupled projects, both of them have their own environment file as described below.

Frontend Environment

Create a .env file in the frontend root folder and add following variables with there corresponding appropriate values

Backend Environment

Create a .env file in the backend root folder and add following variables with there corresponding appropriate values

MONGODB_URL="<mongodb-database-connection-url-here>"
PORT=<port-on-which-the-backend-runs>
JWT_SECRET="<secret-string-used-to-sign-the-authentication-tokens-used-for-logged-in-users>"
FRONTEND_URL="<url-of-the-frontend-which-requires-cors-access-once-deployed>"

Installation

Frontend

To run the Frontend locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/devvspaces/EduHub.git
  2. Navigate to the project directory:

    cd EduHub/frontend
  3. Install dependencies:

    npm install
  4. Start the development server:

    npm start
  5. Open your web browser, if it didn't lauch automatically, and visit http://localhost:3000 to access the application.

Backend

To run the Backend locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/devvspaces/EduHub.git
  2. Navigate to the project directory:

    cd EduHub/backend
  3. Install dependencies:

    npm install
  4. Start the development server:

    node server.js

    OR, If you have nodemon installed, simply run "nodemon" in the command prompt.

    nodemon 
  5. Open your web browser and visit http://localhost:3000 to access the application.

Mobile

To run the Mobile locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/devvspaces/EduHub.git
  2. Navigate to the project directory:

    cd EduHub/mobile
  3. Install project dependencies:

    flutter pub get
  4. Run the app:

    flutter run

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.