Skip to content

jmdev3/fe-challenge

This branch is 3 commits ahead of cryptol0g1c/fe-challenge:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eedc783 · Jul 1, 2022

History

8 Commits
Jun 30, 2022
Jun 30, 2022
Jul 1, 2022
Jun 30, 2022
Jun 30, 2022
Jun 30, 2022
Jun 30, 2022
Jun 30, 2022
Jun 30, 2022
Jul 1, 2022
Jun 30, 2022
Jun 30, 2022
Jun 30, 2022
Jun 30, 2022
Jun 30, 2022
Jun 30, 2022
Jun 30, 2022
Jun 30, 2022

Repository files navigation

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

Setup env.local with env.local.example NEXT_PUBLIC_COBALENT_KEY required

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.1%
  • Dockerfile 5.1%
  • JavaScript 3.6%
  • Shell 0.2%