/hello-rails-back-end

Primary LanguageRubyOtherNOASSERTION

๐Ÿ“— Table of Contents

๐Ÿ“– Hello-rails-back-end

This project is the back-end half of experimenting with React/Rails in two separate repos. You can find the React-half HERE

๐Ÿ›  Built With

Tech Stack

Server
Database

Key Features

  • [Random greeting/saying generation on api endpoint]

(back to top)

๐Ÿš€ Live Demo

  • There is no live demo of this project

(back to top)

๐Ÿ’ป Getting Started

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

Prerequisites

In order to run this project you need:

  • Rails
  • PostgreSQL

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone git@github.com:MattGomb/hello-rails-back-end.git

Install

Install this project with:

bundle install
npm install

or

yarn install

Usage

TThis app uses PostgreSQL databases for data preservation. Please provide valid credentials in a .env file and place it in the root folder.

To initialize the database run:

rails db:create
rails db:migrate

There are a couple of prepared messages, if you don't want to add them through the console:

rails db:seed

To run the server, execute the following command:

rails s` or `rails server

this will start the server on http://localhost:3000/

Run tests

N/A

Deployment

N/A

(back to top)

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Mรกtyรกs Gombos

(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 please consider giving it a star!

(back to top)

๐Ÿ™ Acknowledgments

I would like to thank Microverse for the opportunity

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)