/test-dev-api

A simple Api using Ruby on Rails

Primary LanguageRuby

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

Install Postgres in your machine

put your username and password in '/config/database.yml'

create the databases run: rails db:create

Create the tables run: rails db:migrate

Populate the database with some values run: rails db:seed

start the application: rails server

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

How To:

  • create Controller: rails g controller controler_name
  • create Model: rails generate model Model_Name name_field:type name_field:type