/hello-rails-react

hello-rails-react

Primary LanguageRuby

hello-rails-react

This project is a simple setup of react and rails. React is used for the frontend and rails for the backend api.

Built With

  • React-Rails

Getting Started

  • To get a local copy of the repository please run the following commands on your terminal:

    • git clone https://github.com/mmsesay/hello-rails-react.git
    • cd hello-rails-react
    • bundle install to couple all dependacies
    • npm install to install all node packages
  • Make sure you do have a database installed locally (Postgresql or any other)

    • After cloning the project:
      • Goto config directory
      • Open the database.yml file
      • Swap the username and password on line 27 & 28 to match your database credentials
  • Run the application ** Please run both commands on separate terminals **

    • ./bin/webpack-dev-server to start the react application
    • rails s to start the rails application

👤 Muhammad Sesay

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse for the readme template