Skip to content

# πŸ‘“ Eye Test Validator & Contact Lens Converter App An interactive React application for validating and converting optical prescriptions (Eyeglasses & Contact Lenses). Built with **React + TypeScript + TailwindCSS**, and powered by the backend logic from πŸ“¦ **eye-test-utils** npm package.

License

Notifications You must be signed in to change notification settings

Elhussin/eye-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘“ Eye Test Validator & Contact Lens Converter App

An interactive React application for validating and converting optical prescriptions (Eyeglasses & Contact Lenses).
Built with React + TypeScript + TailwindCSS, and powered by the backend logic from
πŸ“¦ eye-test-utils npm package.


🌍 Live Demo

πŸš€ Try it here:
πŸ‘‰ https://elhussin.github.io/eye-test/


✨ Key Features

βœ… Validate optical prescriptions (SPH / CYL / AXIS / ADD / PD)
βœ… Automatic formatting into standard optical notation
βœ… Lens transposition (positive β†’ negative cylinder format)
βœ… Contact lens power conversion with Vertex Distance adjustment
βœ… Responsive UI β€” works great on mobile & print
βœ… One-page printable output (A4 optimized)


🧠 Powered By

This app uses the optical validators package:

πŸ“¦ NPM: eye-test-utils
πŸ”— https://www.npmjs.com/package/eye-test-utils
πŸ”— Repository: https://github.com/Elhussin/eye-test-utils


πŸ–₯️ Tech Stack

Layer Technology
Frontend React (TypeScript)
Styling TailwindCSS
Notifications Sonner
Build System Vite
Deployment GitHub Pages

πŸ“Έ Screenshots

πŸ–₯️ Desktop View

πŸ“± Mobile View

πŸ“„ Print View


πŸ› οΈ Development Setup

Clone the repo:

git clone https://github.com/Elhussin/eye-test
cd eye-test

Install dependencies:

npm install
# or
bun install

Run development server:

npm run dev
# or
bun run dev

Build for production:

npm run build
# or
bun run build

Deploy to GitHub Pages:

npm run deploy
# or
bun run deploy

Print-Ready View

When switching to View Mode, the UI becomes optimized for printing. βœ… Hidden buttons in print βœ… Fits into a single A4 page when possible

πŸ’¬ Support & Contact

If you have any questions, need technical support, or want to discuss features, feel free to reach out:

πŸ“œ License

This project is licensed under the MIT License.

About

# πŸ‘“ Eye Test Validator & Contact Lens Converter App An interactive React application for validating and converting optical prescriptions (Eyeglasses & Contact Lenses). Built with **React + TypeScript + TailwindCSS**, and powered by the backend logic from πŸ“¦ **eye-test-utils** npm package.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published