<commit_before>'use strict';

let router = require('express').Router();

let Client = require('../controller/client/');
let Dress = require('../controller/dress/');
let Rent = require('../controller/rent/');

router.post('/client/',  Client.create);
router.get('/client/:email',  Client.find);
router.patch('/client/:email',  Client.update);
router.delete('/client/:email',  Client.del);

router.post('/dress/',  Dress.create);
router.get('/dress/:id',  Dress.find);
router.patch('/dress/:id',  Dress.update);
router.delete('/dress/:id',  Dress.del);

router.post('/rent/',  Dress.create);<commit_msg>add support for find all in dress and client<commit_after>'use strict';

let router = require('express').Router();

let Client = require('../controller/client/');
let Dress = require('../controller/dress/');
let Rent = require('../controller/rent/');

router.get('/clients', Client.find);
router.get('/dresses', Dress.find);

router.post('/client/',  Client.create);
router.get('/client/:email',  Client.find);
router.patch('/client/:email',  Client.update);
router.delete('/client/:email',  Client.del);

router.post('/dress/',  Dress.create);
router.get('/dress/:id',  Dress.find);
router.patch('/dress/:id',  Dress.update);
router.delete('/dress/:id',  Dress.del);

router.post('/rent/',  Dress.create);
{'fraction_non_alphanumeric': 0.234123947972456, 'fraction_numerical': 0.0, 'mean_word_length': 4.891891891891892, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2677818', 'n_tokens_mistral': 430, 'n_tokens_neox': 435, 'n_words': 75}