HELLO RAILS BACK END!

Back-end Rails postgres server that contains an API that return random greetings!

Built With

  • Ruby
  • Ruby on Rails
  • PostgreSQL

Getting Started

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

Prerequisites

To use this project you first need to have installed the following:

  • Node.js
  • Ruby
  • PostgreSQL
  • Rails
  • Ruby version

The version of ruby that is needed for this project is

  • 3.1.1

Setup

Once you have installed them, you need to use the following command to clone the repository:

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

Database creation

Next, use this command to create the databases: rake db:create

Use this command to run the migrations if necesessary: rails db:migrate

Usage

Run the live server, but you have to make sure that you are running the 3000 port, so use this command to do it:

rails s -p 3000

Front-end

To properly use this project you also need the Front-end. You can find it in this here. To not have problems with ports, you need to first run the Rails live server, and then the React one.

Author

👤 David Vergaray

🤝 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

  • Thanks to my family for all the support that thay give me.

📝 License

This project is MIT licensed.