API de comptabilité horaire.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lou e40628e0bd Updated Readme 3 yıl önce
app Added duration field to Task migration, timestamps fields are now sent with def show in Task controller 3 yıl önce
bin Init commit 3 yıl önce
config index def now return every tasks if requested 3 yıl önce
db Added duration field to Task migration, timestamps fields are now sent with def show in Task controller 3 yıl önce
lib Setup tokens controller 3 yıl önce
log Init commit 3 yıl önce
public Init commit 3 yıl önce
storage Init commit 3 yıl önce
test Added duration field to Task migration, timestamps fields are now sent with def show in Task controller 3 yıl önce
tmp Init commit 3 yıl önce
vendor Init commit 3 yıl önce
Gemfile Activate CORS 3 yıl önce
Gemfile.lock Activate CORS 3 yıl önce
README.md Updated Readme 3 yıl önce
Rakefile Init commit 3 yıl önce
config.ru Init commit 3 yıl önce
erd.pdf Added duration field to Task migration, timestamps fields are now sent with def show in Task controller 3 yıl önce

README.md

Registra

Rails API

Ruby 3.0.1 // Rails 6.1.3.1

Voir cet article pour installer Ruby avec Rbenv, un gestionnaire de version pour Ruby.
Installer rails : gem install rails -v 6.1.3.1

1. Installation

  1. bundle install
  2. rails db:migrate (et rails db:seed pour peupler la db avec des données factices, si nécessaire)
  3. rails server pour lancer un serveur local sur le port 3000

2. Endpoints

La commande rails routes fournie l’ensemble des endpoints et requêtes HTTP disponibles. L’ensemble des requêtes se font sur la base : localhost:3000/api/v1.