Ce site permet la gestion des animaux, des familles d'accueil, des vétérinaires et de leurs interventions. Le front est réalisé en ReactJS et le server en NodeJS Express
Before developing, run after cloning the project:
git config core.hooksPath .githooks
brew install gitlint
You have to setup git hooks. Run on your repository root folder:
gitlint install-hook
You should put .gitlint
file in root folder of your repository:
[general]
ignore=B6
contrib=contrib-title-conventional-commits
Information about conventionalcommits
Types | |
---|---|
fix | A bug fix |
docs | Documentation only changes |
feat | New feature or task related to a feature |
style | Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) |
refactor | A code change that neither fixes a bug nor adds a feature |
perf | A code change that improves performance |
test | Adding missing tests or correcting existing tests |
build | Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) |
ci | Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) |
chore | Other changes that don't modify src or test files |
revert | Reverts a previous commit |
- installer le server en local :
cd server && npm i
- installer le front en local :
cd front && npm i
- créer une db locale (et la lancer) puis renseigner les informations de connexion dans le fichier .env.development
- lancer le server avec firebase emulator :
cd server && npm start
- lancer le front :
cd front && npm start
- déploiement du front :
cd front && npm run deploy
- déploiement du server :
cd server && npm run deploy