Welcome to mental math trainer, a simple web app designed to continuously practice and improve your mental math skills. Whether you're looking to do some brain-stretching, prepare for a business case study interview or just wanna flex, this thing is for you.
React: A JavaScript library for building user interfaces. Vite: A build tool that aims to provide a faster and leaner development experience for modern web projects. Bun: A fast all-in-one JavaScript runtime, bundler, transpiler, and package manager. Tailwind CSS: A utility-first CSS framework for rapidly building custom designs. TypeScript: A strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Ensure you have Bun installed on your system. You can check by running:
bun --version
If Bun is not installed, follow the instructions on the official Bun website to set it up.
Clone the repository:
git clone https://github.com/aetherjs/mentalmath.git
Navigate to the project directory and install dependencies using Bun:
bun install
In the project directory, you can run several commands using Bun:
bun run dev
Runs the app in development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
bun run build
Builds the app for production to the dist folder. It correctly bundles React in production mode and optimizes the build for the best performance.
bun run preview
After building the app, you can use this command to locally preview the production build.
You can use bunx
instead of npx to execute init scripts and such.
Whoops. TODO!