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 584c66bcb7 added test and method create 2 years ago
app added test and method create 2 years ago
bin Init commit 3 years ago
config started to rework memberships controller 2 years ago
db member: membership dependent destoy 3 years ago
lib Setup tokens controller 3 years ago
log Init commit 3 years ago
public Init commit 3 years ago
storage Init commit 3 years ago
test added test and method create 2 years ago
tmp Init commit 3 years ago
vendor Init commit 3 years ago
.dockerignore started to rework memberships controller 2 years ago
.gitattributes updated version 2 years ago
.gitignore gitignore: ajout de .env 3 years ago
.ruby-version updated version 2 years ago
Dockerfile started to rework memberships controller 2 years ago
Gemfile updated version 2 years ago
Gemfile.lock updated version 2 years ago
README.md L'application est renommée Chronobriq 3 years ago
Rakefile Init commit 3 years ago
config.ru Init commit 3 years ago
docker-compose.yml started to rework memberships controller 2 years ago
erd.pdf member: membership dependent destoy 3 years ago

README.md

Chronobriq

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.