API de comptabilité horaire.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Lou 0e529f8a0a master.key is now used in production environment 3 gadus atpakaļ
app Added duration field to Task migration, timestamps fields are now sent with def show in Task controller 3 gadus atpakaļ
bin Init commit 3 gadus atpakaļ
config master.key is now used in production environment 3 gadus atpakaļ
db Added duration field to Task migration, timestamps fields are now sent with def show in Task controller 3 gadus atpakaļ
lib Setup tokens controller 3 gadus atpakaļ
log Init commit 3 gadus atpakaļ
public Init commit 3 gadus atpakaļ
storage Init commit 3 gadus atpakaļ
test Added duration field to Task migration, timestamps fields are now sent with def show in Task controller 3 gadus atpakaļ
tmp Init commit 3 gadus atpakaļ
vendor Init commit 3 gadus atpakaļ
Gemfile Activate CORS 3 gadus atpakaļ
Gemfile.lock Activate CORS 3 gadus atpakaļ
README.md Updated Readme 3 gadus atpakaļ
Rakefile Init commit 3 gadus atpakaļ
config.ru Init commit 3 gadus atpakaļ
erd.pdf Added duration field to Task migration, timestamps fields are now sent with def show in Task controller 3 gadus atpakaļ

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.