Skip to content

AlburIvan/enroute-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Enroute Electronic color code challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published