Home

Awesome

README

Best Udemy Clone on the market. Set up your online school in minutes!

Source: https://github.com/yshmarov/edurge

Demo: https://edurge.herokuapp.com/


Schema: alt text


Homepage: alt text


Create a course: alt text


View course: alt text


View lesson: alt text


Leave a review to a course: alt text


Admin can view all subscriptions, teacher can view subscriptions to his courses: alt text


Features

Roles [:admin, :teacher, :student]

Create Show Edit Destroy

User Owner All Owner Admin, Owner

Category Admin All Admin Admin

Course All All Owner Admin, Owner

Lesson Course owner Subscriber Owner Owner

Subscription Owner Admin Owner Admin, Owner


TO DO

integrate a payments provider to actually pay for courses

lesson duration

make it a PWA (with rails 6)

rich text editing for course/description (with rails 6)

omniauth with google & facebook

add TAGS to courses

write tests! No tests have been written for the app

lesson options


INSTALLATION

System dependencies

ruby '2.6.5'

gem 'rails', '~> 5.2.3'

database: postgresql

Configuration

git clone https://github.com/yshmarov/edurge

bundle install

Empty database

rails db:drop db:create db:migrate

database with sample data

rails db:drop db:create db:migrate db:seed

Run the app

rails s


If you don't want any user to be able to create own courses, you should comment the field in user.rb:

self.add_role(:teacher)

to be like this

#self.add_role(:teacher)


Contact: yashm@outlook.com