Alfredbis29 / hello-rails-back-end

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello Rails Back-end App

A Rails Back-end application that interacts with a React front-end API to display greetings from around the world You can find the React Front-end application at This Repo

Built With

  • Ruby
  • Ruby on Rails
  • Postgresql

Getting Started

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

Prerequisites

  • You need Ruby v3+, Rails v7+ and Postgresql installed on your machine.

Setup and Usage

Start Back-end Rails server

  • Note -> You need to start the Rails server first at port 3000 then start the React server at a different port
  • Clone the back-end rails API from https://github.com/Alfredbis29/hello-rails-back-end.git
  • navigate to the folder cd hello-rails-back-end
  • Install required gems bundle install
  • Load the database rails db:reset
  • Start server rails s

Start Front-end React server

  • Clone the project https://github.com/Alfredbis29/hello_react_frontend.git
  • navigate to the folder cd hello_react_frontend
  • run npm i to install all dependencies
  • Start server npm start and choose the yes option to start server in different port (not 3000)
  • Enjoy interacting with the app.

Author

🤝 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

Hat tip to anyone whose code inspired our project

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

About


Languages

Language:Ruby 100.0%