Giter Site home page Giter Site logo

rmdb's Introduction

React Movie DB

A simple react-redux app consuming data from a rails-api app

Prerequisites

  • bundler, npm, and yarn

Installing

To try it out clone the repo and from the root folder do:

$ bundle install
$ rake db:create db:migrate db:seed
$ rails s -p 3001

This will install the rails dependencies, create the DB, migrate it, and seed it with initial data.

To spawn the react-redux app:

$ cd client/
$ yarn start

It should load up in your browser pointing to http://localhost:3000 where you can start using the app

Please note that I have kept the .env.production, and the .env.development files in the respository on purpose in order to ease the reuse of the app, also there's nothing secret in there anyways!

Running the tests

From root folder do:

$ rspec spec

Not all requests tests are passing due to issue with devise-token-atuh gem, here

Deployment

Heroku is used to deploy the application, here is the live demo

Built With

  • rails
  • react
  • redux
  • bootstrap

TODOS

  • Setup Rails API and React Client
  • Create DB schema for models
  • Add authentication functionality
  • Create API endpoints
  • Add search and filter functionality Backend
  • Add API tests
  • Create client components
  • Make it pretty using Bootstrap
  • Add search and filter functionality Client side
  • Deploy to Heroku
  • Add client tests

rmdb's People

Contributors

menisy avatar

Watchers

 avatar  avatar

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.