TTapp using next.js
How to use
Download the example or clone the repo:
git clone
Install it and run:
yarn install
yarn build
yarn dev
- Look at package.json for infos on build etc.
The framework used
Next.js is a framework for server-rendered React apps.
[Redux-Saga] https://redux-saga.js.org/docs/basics/ErrorHandling.html is a library that aims to make application side effect asynchronous things like data fetching and impure things like accessing the browser cache
Integration
Naming conventions
style classes name syntax : Camel case Try to name without too much precision
Material UI
[components/atoms/theme.js] Const file [components/atoms/] Atomic components [components/organisms] General components [components/templates] Layouts components
MEP
================================= Mise en PRE-production de l’application PWA
Aller dans la preproduction et git pull dans le répertoire /app (pas www) Possibilité de devoir git stash Attention de bien avoir le .env Restart docker preproduction (sudo make ENV=preprod docker-restart) sudo docker exec -it frontnginx.nginx bash nginx -t && nginx -s reload
Test
Cypress
[Gmail-tester] https://github.com/levz0r/gmail-tester
Continuous Integration
Jenkins
in case of emergency make docker-restart ENV=dev adduser jenkins root