Code Monkey home page Code Monkey logo

enroute-challenge's Introduction

Eletronic Color Code Calculator

Description

This project is a web-based eletronic color code calculator. It is designed to help users identify the resistance value of a resistor based on the color bands. The project is built using React and TypeScript, and is designed to be accessible to all users.

Features

  • Calculate resistance value based on color bands
  • Calculate tolerance value based on color bands
  • Accessible to all users
  • Responsive design
  • Light / Dark themes

Prerequisites

Installation

To install the project and its dependencies, run the following commands:

  1. Clone this repository git clone <repo-url> and navigate to it mv <repo-name>.
  2. Run npm install in the root directory of each project.
  3. Make sure you have a MySQL server running on your machine.
  4. Duplicate and rename each .env.example files on each directory (client & server).
  • Configure the .env file with the appropiate values, when needed.
  1. On the server directory:
  • Run the database migrations with npm run migrate to create the database tables.
    • If the seeder didn't run automatically, run it manually with npm run seed to populate the database with the initial data.
    • Run npm run dev to start the express development server.
  1. On the client directory:
  • Run npm run dev to start the vite development server.
    • Open your browser and navigate to localhost:{PORT} to view the project.

TODO Improvements

  • Fix graphical issue on reset with the resistor image
  • Add more tests to the client and server, (UI components, API endpoints, integration tests)
  • Optimize query performance on the server

Useful Links

enroute-challenge's People

Contributors

alburivan 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.