Coder Social home page Coder Social logo

currency's Introduction

Currency Exchange (Code Challenge)

View site here

Build

$ npm i
$ npm run dev

Prioritize Requirements

  1. As a user, I should see a list of currencies that I can convert my money from.
  2. As a user, I should be able to select 1 or more output currencies.
  3. As a user, I should be able to submit a value for the amount I want to convert.
  4. As a user when I submit my selections, I should see the different output exchange rates with information that indicates what my best exchange rate is.
  5. As a user, I should be able to persist my results to a database and access by my email address. Do not build auth for the persistence. Pick a naive solution and explain your choice.

Rationale

I spent some time early on researching Docker and Laravel. I've known of these projects for a long time but never used them myself as I'm primarily front end. Most of the backend projects I've done were in Node. After spending some time reading and installing Docker and the Laravel example app, I moved on to work on the front end. I used Vite to get a Vue 3 project up and running super quick. I was able to get most of the frontend requirements done in the first few hours.

On day 2, I started working on the rest of the SWOP API and was able to wrap everything up pretty quickly. I also added a quick local storage persistence for the currency list as I was afraid of hitting the monthly request limit.

After finishing the frontend I went back to work on setting up Laravel, but was much more involved than I expected. I was struggling to get a blank Docker container setup at all. I planned to get the container up and use Jetstream as a base since it already has auth and routing. I think I could learn Docker and Laravel over time if necessary, but in the short period I had left to complete this challenge I wasn't able to.

Timeline:

5/3/2021

  • Start time 9:30 AM
  • Installed docker + Researched Laravel
  • Setup + Worked on frontend
  • End time 3:30 PM

5/4/2021

  • Start time 7:30 AM
  • Finished frontend + API stuff 9:30 AM
  • Research Laravel + Docker
  • End time 12:00 PM

currency's People

Contributors

whaaaley avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.