Skip to content

An E-Leaning Management System where there will be multiple courses, lessons, and questions to complete, and, is managed by an admin user.

Notifications You must be signed in to change notification settings

tyrro/e-learning-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E Learning System

https://e-learn-ing.herokuapp.com/

This is a sample app where an user can login and take courses right away. User can take part in quizzes and can get results promptly. Course contents can only be managed by an admin.

The backend of this project is developed in Rails and the Frontend part in React. Following are the instructions to run the project in local machine:

Setup

  • Clone the repository

    git clone [email protected]:rajibds/e-learning-system.git
  • Run Docker

    docker-compose up --build
    docker-compose run web rails db:setup

Server is now up and running at: http://localhost:3000

Managing Content

After setting up the project and signing up, a user has to become an admin to manage courses. For an user to become admin:

  docker-compose exec web /bin/sh
  rails c
  User.first.update admin: true              // make the first user in the DB admin
  User.find(user_id).update admin: true      // make the user with id: user_id in the DB admin

About

An E-Leaning Management System where there will be multiple courses, lessons, and questions to complete, and, is managed by an admin user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published