A nearly full-feature Reddit clone built with Ruby on Rails. This app is the result of a course called Hello Rails found at hellorails.io
Model | Description |
---|---|
User | Focused on the user |
Submission | The user authors. Has different types (image/video, text, link) |
Community | The category the submission belongs to |
Comment | A response given to the submission from another user or the current user |
Subscription | Not be confused with billing of any type. A user can subscribe and unsubscribe to a community |
To use the code:
Open Terminal and change the current working directory to the location where you want the cloned directory to be made.
Download the repository using the instruction.
In the command line go to the directory with the files downloaded.
cd webbit
bundle install
yarn install
bundle exec rails db:migrate
bundle exec rails db:seed