/hello-rails-react

Primary LanguageRubyMIT LicenseMIT

RAILS-REACT README

📗 Table of Contents

📖 RAILS-REACT

This is a simple Rails application manages greetings by returning random greetings everytime the application is run. It is developed using Rails and React. It is built using a bundler called Webpack. The application serves a simple RESTFUL API that fetches a single greeting from the PostreSQL database and displays it inside a React Component. Axios library is used to fetch the greeting.

🛠 Built With

Tech Stack

Client
Front End
Database

Key Features

Describe between 1-3 key features of the application.

  • Add a greeting of your choice
  • Serve the greetings thtough an API
  • Display a random greeting

(back to top)

Describe how a new developer could make use of your project.

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • Ruby and rails installed
  • PostgreSQL server installed also

Setup

Clone this repository to your desired folder:

  git clone https://github.com/inspecta/hello-rails-react.git

Install

Install this project and it's dependencies:

  cd hello-rails-react
  gem install
  yarn install

Usage

To run the project, execute the following command:

  ./bin/dev

Run tests

To run tests, run the following command:

  gem install rspec
  rspec spec

(back to top)

👥 Authors

Mention all of the collaborators of this project.

👤 Author1

(back to top)

🔭 Future Features

Describe 1 - 3 features you will add to the project.

  • Add security
  • Build a complete API
  • Write a document for the API

(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, please give it a star.

(back to top)

🙏 Acknowledgments

Give credit to everyone who inspired your codebase.

I would like to thank Microverse for their continued support. They've provided us with the reading material that have helped us to create this application.

(back to top)

❓ FAQ (OPTIONAL)

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

  • Can I reuse this code?

    • Yes sure, feel free.
  • Are contributions welcome?

    • Yes please. Contact me at djmulinde@gmail.com and I will be happy to add you as a contributor.

(back to top)

📝 License

This project is MIT licensed.

(back to top)