Hello-rails-App is an app I used to create a backend rails api to display a random message.
Client
Database
- Making use of Ruby on Rails
- Making use of PostgreSQL
None
To start and run this project
bundle install
ruby main.rb
To get a local copy up and running, follow these steps.
- IDE to edit and run the code (We use Visual Studio Code 🔥).
- Git to versionning your work.
- PostgreSQL
To setup and install this sample ROR Blog project, follow the below steps:
- Clone this project by the command:
$ git clone https://github.com/Elijahdre/hello-rails-back-end
- Then switch to the project folder by the bellow query:
$ cd hello-rails-backend
- Install the required dependecies with
bundle install
- Install npm dependencies with
npm install
- Before running below commands update config/database.yml with your local
DB
credentials. Then run: -rake db:create
-rake db:migrate
-rake db:seed
- With Ruby on Rails and PostgreSQL installed in your environment, you can run
rails server
to run the website.
- Run
rake db:seed RAILS_ENV=test
to seed the testing database - Run
rspec
- Build the project schemas
- Use postgresql as my database instead of sql
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give it a :star
- I would like to thank Microverse for these Design Guidelines
- Original design idea by .
- Hat tip to anyone whose code was used 🤝
- Inspiration 🔥
This project is MIT licensed.