A rails app that allows users to fetch a random message sent from the database.
- You can find the front-end app of this project using this link
Server
Database
- User can fetch a random greeting message sent from the backend.
To get a local copy up and running, follow these steps.
In order to run this project you need:
Ruby
installed in your machine, you can user this link to install in your OS.PostgreSQL
is installed in your machine, you can refer this link to install in your machine. Then run:
Clone this repository to your desired folder:
git clone https://github.com/AckonSamuel/hello-rails-back-end.git
cd hello-rails-back-end
Run these commands to install the required dependencies:
bundle install
npm install
To run the project, execute the following command:
rails s
-
To access the api documentation, simply run:
http://{localhost}/api-docs/index.html
. -
localhost
is the host where your server is running, and also make sure to specify theport
-
Here is an example:
http://127.0.0.1:8080/api-docs/index.html
- GitHub: @AckonSamuel
- LinkedIn: Ackon Samuel
- Add testing for my project.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project...
This project is MIT licensed.