Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front-end challenge #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Front-end challenge #4

wants to merge 3 commits into from

Conversation

jmdev3
Copy link

@jmdev3 jmdev3 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