Giter VIP home page Giter VIP logo

todo-mvc-react-on-rails's Introduction

Todo MVC using ReactOnRails

This is a simple Todo MVC app that is built using Shakacode's ReactOnRails Framework. The hosted version of the app can be see here

Info

  • Ruby Version: 2.6.1p33
  • Rails Version: 5.2.2
  • React Version: 16.8.1
  • ReactOnRails Version: 11.1.4

Install and Run locally

First clone this repository by running the following command:

git clone [email protected]:shalomsam/todo-mvc-react-on-rails.git

Note: This instructions assume you have PostgreSql Databases already installed and setup for Rails. If not you might wanna install and setup PostgreSql before following the below steps.

Navigate to the app root directory:

cd todo-mvc-react-on-rails

Then install node dependencies:

yarn install

Or

npm install

Then install gem dependencies:

bundle install

Then run DB migration to create the required tables in the PostgreSql database:

rake db:migrate

Then Build the React bundle files using the below command:

bin/webpack

And finally to server the application locally we can run a rails server with the following command:

rails s -p 3001

-p 3001 being the port number of choice.

Author

Shalom Sam

License

MIT © shalomsam

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.