https://cryptologic-front-challenge.vercel.app/
https://cryptologic-front-challenge.vercel.app/stats
docker build -t nextjs-docker .
docker run -p 3000:3000 nextjs-dockerdocker permission error fix if necessary
sudo usermod -a -G docker $USER
newgrp dockerFirst, install dependencies:
npm installThen, run the development server:
npm run devBuild
npm run buildnpm run lint
npm run lint:fixLinter is integrated with husky (pre-commit), prettier and also with vscode to run on-save following the steps below:
1- Create .vscode directory
2- Create settings.json inside of it
3- Paste the following:
{
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": true,
"eslint.alwaysShowStatus": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}- NextJS
- Typescript
- Mobx & Mobx State Tree
- Styled Components
- ESLint & prettier
- AntDesign