Git Product home page Git Product logo

lifeiscontent / realworld Goto Github PK

View Code? Open in Web Editor NEW
161.0 4.0 45.0 11 MB

"The mother of all demo apps" โ€” Exemplary fullstack Medium.com clone powered by Next.js and Ruby on Rails ๐Ÿ…

Home Page: https://realworld.now.sh

License: MIT License

Ruby 50.67% JavaScript 48.49% HTML 0.29% Procfile 0.03% TypeScript 0.53%
reactjs rails apollo-client graphql graphql-ruby realworld storybook rails-api

realworld's Introduction

realworld

Web Api Storybook

This repo implements opinionated best practices for Apollo Client, React, Next.js and Storybook.

1 caveat is it does not try to implement a best practice on UI Components as the styles are reused from the realworld.io project.

Setup

Api

cd api
bundle
bin/rails db:migrate
bin/rails db:seed
bin/rails s

Web

cd web
npm install
npm run dev

Testing

Api

cd api
bin/rails spec

Web

cd web
npm test

Tooling

Api

Generate ERD

bin/rails erd

Web

Storybook

npm run storybook

realworld's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar lifeiscontent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

realworld's Issues

Build error for api

I was trying to build the api by running this simple bundle cmd
and got below error.
can u please look into it
An error occurred while installing json (2.6.2), and Bundler cannot continue.

In Gemfile:
solargraph was resolved to 0.47.2, which depends on
rubocop was resolved to 1.36.0, which depends on
json

Docker Integration

Could you give us a docker file? Currently it is hard to get the app running. I'm not using Ruby at all, and I don't get the backend part running because of version mismatch.

Cheers

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.