10000 GitHub - ogagaoghene/hello-rails-react: Hello world project as one app with Webpack
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ogagaoghene/hello-rails-react

Repository files navigation

logo

Microverse README Template

📗 Table of Contents

📖 [Set up a "Hello world" project as one app with Webpack]

Learning objectives

  • Integrate React with Rails.
  • Understand the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end.

🛠 Built With

Tech Stack

💻 Getting Started

To get a local copy up, follow these simple steps.

Prerequisites

  • A web browser like Google Chrome.
  • A code editor like Visual Studio Code with Git and Ruby.
  • git clone https://github.com/ogagaoghene/hello-rails-react
  • cd hello-rails-react
  • Run bundle install to install all the required dependancies.
  • Run rails db:create and rails db:migrate to create & migrate records to the database.
  • Run ./bin/dev to spin up a development server.

Errors

If you encounter any errors, run the following commands.

  • Run rails db:migrate:reset to drop, create and migrate a new database. Alternatively, run the following commands:
  • rails db:drop or rails db:drop:all in extreme cases of duplicate values
  • rails db:create
  • rails db:migrate
  • Run rubocop && rubocop -A to check for and fix code errors.

Usage

To run the project, execute the following command:

  • Run ./bin/dev to spin up a development server.

Run tests

To run tests, run the following command:

  • rspec ./spec/#{filename}_spec.rb

Deployment

You can deploy this project using: Heroku or RENDER

(back to top)

👥 Authors

Mention all of the collaborators of this project.

👤 Author1

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Write a message to encourage readers to support your project

If you like this project...

(back to top)

🙏 Acknowledgments

Give credit to everyone who inspired your codebase.

I would like to thank...

(back to top)

❓ FAQ

Add at least 2 questions new developers would ask when they decide to use your project.

  • [What is the best operating system for developing serious rails applications]

    • [Unix based environment is the natural environment for developing serious rails applications]
  • [I understand that RVM is the best tool for managing dependencies needed in ROR applications]

    • [It is recommended because it allows for flexibility in managing dependencies]

(back to top)

📝 License

This project is MIT licensed.

Copyright (c) 2022 Esi Ogagaoghene

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.

(back to top)

About

Hello world project as one app with Webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0