Skip to content

KingsleyMcSimon/Basic-Routes-Views-And-Controllers

Repository files navigation

Name of Project:

Basic Routes, Views And Controllers

Table of contents:

  1. About The Project
  2. Built With
  3. Getting Started With The Project
  4. Contributing
  5. License
  6. Contact/Contributors i. Link To Project On Github
  7. What Was Learnt During The Project
  8. Acknowledgements

About The Project:

Get the chance to interact with Rails application from the command line by sending requests manually. First build a very simple app (to get some practice with the steps involved in creating a new one) and then a simple script which uses the RestClient gem to send some requests and examine the server output.

Built With:

Ruby On Rails.

Getting Started With The Project:

Application Skeleton First you need to create a simple Rails app:

  1. Create a new Rails application “rest-tester” (remember the $ rails new command?). Go (cd) into the application folder and open it up in a text editor.
  2. Let’s start from the top – creating the routes necessary to serve up our users. Go to config/routes.rb and add the users resources with resources :users.
  3. Verify by using $ rake routes on the command line.

contributing:

In this project, your contributions towards helping in improving this project is woild be well accomodated. With that, the project will get better rating and give programmers at any level the ability learn, be inspired and create better content.

After you are done with your contributions, you can:

i. Fork The project. ii. Create your feature branch using git checkout -b feature/anyfeature(for example) iii. Commit your changes following git commit -m 'Name it as it pleases you', when you are done, iv. Push to the branch you have created using git push origin feature/anyfeature and finally v. Open a pull request.

License:

Distributed under the MIT Licence. See Licence for more informaton

Contributor(s):

Kingsley McSimon O. and Roheem Olayemi

Link To The Project On Github:

Project On Github

What Was Learnt During The Project:

Got useful adventure into the request cycle of a Rails app and had the chance to get a bit familiar with basic app creation, setup and routing.

Acknowledgements:

Odin Project

Michael Hartl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors