Skip to content

Latest commit

 

History

History
173 lines (111 loc) · 4.25 KB

README.md

File metadata and controls

173 lines (111 loc) · 4.25 KB

📗 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)