Table of Contents

Hello rails back-end

Hello rails app. This exercise is to create a React front-end with a Rails back-end and connect them to display a random message.

Front-end - React App

Built With

  • Ruby
  • Ruby on Rails
  • PostgreSql

Getting Started

Prerequisite

Go ahead and check the most recent version of each of these:

  • Ruby (ruby --version)
  • SQLite3 (sqlite3 --version)
  • Node.js (node --version)
  • Yarn (yarn --version)
  • Rails (rails --version)

Clone this repository

To clone the repo run:

git clone https://github.com/abdulhamiid/hello-rails-back-end.git

To access the cloned directory, run:

cd hello-rails-back-end

Install the required dependecies with:

bundle install

Before running below commands update config/database.yml with your local DBcredentials. Then run:

rake db:create
rake db:migrate
rake db:seed

Start the server with

rails s

Author

👤 Abdulhamid

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page

To Contribute to this project

  1. Fork the Project
  2. Create your Feature Branch
git checkout -b feature/newFeature
  1. Commit your Changes
git commit -m 'Add some newFeature'
  1. Push to the Branch
git push -u origin feature/newFeature
  1. Open a Pull Request

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Thanks to Microverse

📝 License

This project is MIT licensed.