Git Product home page Git Product logo

dacxi-technical-test's Introduction

dacxi-technical-test

Goal

This is a solution for the front-end technical test of Dacxi/Wealth99 company. My goal was to build a simple app which the user could see the current price of certain coins, using the CoinGecko API.

Stack

  • Vue 3
  • Pinia
  • TailwindCSS

Comments

I enjoyed programming the idea of this project and trying to apply new things. I don't think I'm 100% satisfied with what was delivered because I had a certain problem regarding the deadline for delivery. Nevertheless, I tried to deliver the main functionalities and ensure that the main flows were functional.

I tried to stay as far away as possible from external UI libraries to demonstrate my skills by building components and integrating their functionalities from scratch, even if it cost me less time to integrate all the functionalities.

Regarding architecture, I tried to simplify as much as possible and reduce possible complexities that could arise. I centralized the API calls in a services folder, which could later be scalable as the project required. To centralize component information, I used Pinia (a state management library), which greatly simplifies the process and avoids prop drilling or other commonly known problems.

I felt it was a good option to use the following libraries:

  • vue-sonner - To create very beautiful toasts that matched my design idea.
  • iconify - To use a vast collection of icons in my project.
  • fontsource - Used to use fonts in the project.

The design was entirely conceptualized and implemented by me. The idea, initially, was to have a very simple UI but with a modern atmosphere (to match the proposal of virtual currencies, etc.).

Initially, my idea was to deliver both unit tests and E2E tests. However, I didn't have enough time for that because, overall, I had just under 6 hours to create and finalize the project from scratch. However, I have knowledge in unit and integration tests and actively use them in professional code.

I am available to discuss the project and the decisions I made while creating it if you are interested. Thank you

Running the project

In order to run the project in your machine, you will need to have the following dependencies installed in your machine:

  • nodejs 20.11.0
  • pnpm 8.15.4
  • git

Now, follow the steps below:

Clone the repo

git clone https://github.com/thel3onardo/defsafe-code-challenge

Installing dependencies

After cloning the project, install the dependencies using:

pnpm install

Open a dev server

After installing the dependencies, you can open a dev server and try the project yourself.

pnpm dev

Building

If you want to build the project and see the results locally, you can execute the following pnpm commands:

pnpm build
pnpm preview

Found any problems? Feel free to open an issue in the project, or send me an email at [email protected]

dacxi-technical-test's People

Contributors

thel3onardo avatar

Watchers

 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.