Skip to content

Simple web app that allows a user to browse their "pockets" and exchange currencies.

Notifications You must be signed in to change notification settings

sombreroEnPuntas/currency-exchange

Repository files navigation

currency-exchange

Try it out on Vercel!

Maintainability Test Coverage

Simple web app that allows a user to browse their "pockets" and exchange currencies.

NOTE: Requirements here

Scripts

This is a Next.js project, styled with normalize.css and terminal.css.

A local env file is required to access APIs. Create one with cp .env .env.local and add missing keys.

The following scripts are available:

yarn lint   // run tsc, eslint & prettier code checks
yarn test   // run jest tests (unit & integration)
yarn dev    // starts dev server locally, with hot reload
yarn build  // generate PRD bundle
yarn start  // starts PRD server

Service

There's an API service (free tier) to provide exchange data: openexchangerates.org.

CI

  • husky enforces commit sanity locally
  • codeclimate static analysis prevents accumulating technical debt
  • pushing a commit triggers tests on github workflows
  • PRs get automated reviews: comments and checks from codeclimate 🤖
  • a changelog is auto-generated after pushing to master
  • Merges to master branch and PRs will trigger deploys on Vercel envs

Web app

There's a web app deployed as a Vercel app, matching latest master, and envs are created for new PRs.