RailsReact is web app to display greetings from rails API with react as the front-end using webpack in one app
Ruby on Rails (simplify as Rails) is a server-side web application framework written in Ruby under the MIT License. Rails is a modelβviewβcontroller (MVC) framework, providing default structures for a database, a web service, and web pages. It encourages and facilitates the use of web standards such as JSON or XML for data transfer and HTML, CSS and JavaScript for user interfacing.
React React is a declarative, efficient, and flexible JavaScript library for building user interfaces. It lets you compose complex UIs from small and isolated pieces of code called βcomponentsβ.
Webpack is a static module bundler for modern JavaScript applications. When webpack processes your application, it internally builds a dependency graph from one or more entry points and then combines every module your project needs into one or more bundles, which are static assets to serve your content from.
Client
Server
Database
Key features of the application are
- Display of content from API
Add a link to your deployed project.
This project can be used by anyone for any good purpose.
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Ruby and Rails on you operating system eg. for Ubuntu 20.04
- Node.js installed
- Yarn
- PostgreSQL database installed
Clone this repository to your desired folder:
cd my-folder
git clone https://github.com/DuaneDave/hello-react-rails.git
Install this project with:
cd hello-rails-react
bundle install
To run the project, execute the following command:
./bin/dev
To run tests, run the following command:
bin/rails rspec spec
You can deploy this project using:
π€ Okolike Assumpta
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
- Coming Soon ...
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project buy me a drink
Give credit to everyone who inspired your codebase.
We would like to thank Microverse for inspiring this project
-
Is Rails still relevant?
-
Is it easy to learn Ruby on Rails
This project is MIT licensed.