Skip to content

cuchi/ruddit

Repository files navigation

Ruddit

⚠️🚧 Work in progress! Check out the Roadmap ⚠️🚧

How to run it

Make sure you have:

Run:

bin/bundle install
docker-compose up -d
bin/rails db:setup
bin/rails s

Here we go! It should be up and running at http://localhost:3000

Roadmap

  • Project setup:
    • Rails
    • React
    • PostgreSQL
    • GraphQL
    • Linting (Rubocop)
    • CI (GitHub actions)
    • CD (Heroku?)
  • Implement features for:
    • Posts listing
      • Backend
      • Frontend
      • Tests
    • Posts creation
      • Backend
      • Frontend
      • Tests
    • User creation
      • Backend
      • Frontend
      • Tests
    • User authentication
      • Backend
      • Frontend
      • Tests
    • Comments listing
      • Backend
      • Frontend
      • Tests
    • Comments creation
      • Backend
      • Frontend
      • Tests
    • Voting
      • Backend
      • Frontend
      • Tests
  • Improvements
    • Improve GraphQL queries (specially recursive ones) to solve the good old N+1 problem and leverage some batching. The Dataloader feature may help with this
    • Use Relay-style pagination

About

Small Reddit clone using Ruby on Rails + GraphQL + React + PostgreSQL :)

Topics

Resources

Stars

Watchers

Forks