Skip to content

Unit Converter is a simple web app that can convert between different units of measurement.

License

Notifications You must be signed in to change notification settings

architxkumar/unit-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unit Converter

A unit conversion web application built using Flutter and Golang.

Built as the submission for Unit Converter Project on roadmap.sh.

Note

This project is a Golang first project, and Flutter has been used to provide a barebone UI for simplicity

Features

  • Conversion across 8 length, 5 weight, and 3 temperature units
  • Material UI Design
  • Backend Logging Middleware
  • State Management in Flutter using provider

Learning Outcomes

  • Frontend/Backend integration
  • Basic middleware integration (e.g Logging)
  • State management techniques
  • Input form field validation (Restriction of non-numeric value)

Screenshots

Chrome browser screenshot of Unit Converter App showing length conversion tab with 4563654 entered in the input field, millimeter selected as source unit and inch selected as target unit Chrome browser screenshot of Unit Converter App displaying a result modal that shows the converted value is 179671.42 inches, with a dismiss button Chrome browser screenshot of Unit Converter App on the weight conversion tab with an empty input field and unit options for milligram, gram, kilogram, ounce, and pound Chrome browser screenshot of Unit Converter App on the temperature conversion tab with an empty input field and unit options for Celsius, Fahrenheit, and Kelvin

Setup & Usage

Requirements

  • Flutter SDK >= 3.8
  • Golang >= 1.24
  • Browser (Chromium-based recommended)

(Optional) Before starting, run the following command to ensure Flutter is installed and no issues are detected with browsers:

flutter doctor -v
git clone https://github.com/architxkumar/unit-converter
cd unit-converter/backend
go mod tidy
go run .

Start a new terminal session, in the same path as before, and run the following commands:

cd unit-converter/frontend
flutter pub get
flutter pub run

License

MIT LICENSE

About

Unit Converter is a simple web app that can convert between different units of measurement.

Resources

License

Stars

Watchers

Forks

Packages

No packages published