jorgeabrahan / hello-rails-back-end

Rails back-end to connect it with a react frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“— Table of Contents

πŸ“– Hello rails backend app

Hello rails backend app with a greetings table to be connected with a react frontend.

React app link

πŸ›  Built With

Tech Stack

Client
Database

Key Features

  • Greetings table to be connected with a react frontend

(back to top)

πŸš€ Live Demo

  • No live demo yet.

πŸ’» Getting Started

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

Prerequisites

In order to run this project you need:

  • Git SCM
  • Ruby installed
  • Rails installed
  • PostgreSQL and SQL installed

And in case you want to run capybara tests:

  • Chromedriver
  • WSL activated
  • Ubuntu or any other linux distro shell installed

Setup

Clone this repository to your desired folder:

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

Or download the ZIP folder.

Install

Once you've cloned the repository simply run:

bundle install
rails db:create
rails db:migrate

If it doesn't work because the server got disconnected you might need to change the credentials for your own psql credentials in the database.yml file.

Usage

To run the project, if you are on the blog folder path on your terminal you can execute the following command:

rails server

Run tests

To start tests run:

rspec spec # for rspec tests
rails test:system # for capybara tests

Deployment

  • Render

(back to top)

πŸ‘₯ Authors

πŸ‘€ Jorge Abrahan

(back to top)

πŸ”­ Future Features

  • Deploy application in Render
  • Improve cyclomathic complexity in some methods

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project you can just cheer me up with a comment πŸ™‚!

(back to top)

πŸ™ Acknowledgments

Original project idea by Microverse

(back to top)

❓ FAQ

  • What is this project main purpose?

    • To practice working with Ruby on Rails, PostgreSQL and interpret entity relationship diagrams, UML class diagrams and build UIs in ruby based on design guidelines.

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

Rails back-end to connect it with a react frontend

License:MIT License


Languages

Language:Ruby 86.9%Language:Batchfile 12.1%Language:HTML 1.0%