Skip to content

Front-end challenge#4

Open
0xju4nm4 wants to merge 3 commits intocryptol0g1c:mainfrom
0xju4nm4:main
Open

Front-end challenge#4
0xju4nm4 wants to merge 3 commits intocryptol0g1c:mainfrom
0xju4nm4:main

Conversation

@0xju4nm4
Copy link
Copy Markdown

@0xju4nm4 0xju4nm4 commented Jun 30, 2022

Deployed URL

https://cryptologic-front-challenge.vercel.app/

https://cryptologic-front-challenge.vercel.app/transactions/0xa79E63e78Eec28741e711f89A672A4C40876Ebf3

https://cryptologic-front-challenge.vercel.app/stats

Original repo: https://github.com/juanmavillarraza/cryptologic-front-challenge (I forgot to fork at the begenning, just if you wanna check commit history)

Build and run with docker

docker build -t nextjs-docker .
docker run -p 3000:3000 nextjs-docker

docker permission error fix if necessary

sudo usermod -a -G docker $USER
newgrp docker

Getting Started

First, install dependencies:

npm install

Then, run the development server:

npm run dev

Build

npm run build

Linter

npm run lint
npm run lint:fix

Linter 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
  }
}

Stack of technologies

  • NextJS
  • Typescript
  • Mobx & Mobx State Tree
  • Styled Components
  • ESLint & prettier
  • AntDesign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants