Written by Brian Mccarthy
A professional calculator that calculates simple interest given principal, annual rate of interest, and time period in years. This project was developed for the Micro-finance startup mission to empower low-income individuals.
The core function calculates the yield on an investment or loan using the simple interest formula:
- Input:
p: Principal amountt: Time period in yearsr: Annual rate of interest
- Output:
simple interest= (p * t * r) / 100
- Frontend: React (JavaScript), Tailwind CSS for styling.
- Animations: Motion (formerly Framer Motion).
- Icons: Lucide React.
- Scripting: Bash (Shell Scripting).
- Version Control: Git & GitHub.
- Create a GitHub repository with a README and Apache 2.0 License.
- Implement a Code of Conduct (
CODE_OF_CONDUCT.md). - Implement Contribution Guidelines (
CONTRIBUTING.md). - Develop a Bash script (
simple-interest.sh) for interest calculation. - Demonstrate Git CLI operations (forking, branching, merging, reverting, and pull requests).
- README.md: Project overview and simple interest logic.
- LICENSE: Full Apache License 2.0.
- CODE_OF_CONDUCT.md: Contributor Covenant standards.
- CONTRIBUTING.md: Guidelines for new contributors.
- simple-interest.sh: The core Bash script for interest calculation.
- forked-repo: Contains the forked repository verification (Task 6).
- merge_branches: Terminal output of the first merge operation.
- bug-fix-revert: Pull Request verification via GitHub API.
- github-branches: Complete branch status and metadata.
- Bash: Run
bash simple-interest.shin your terminal. - Web UI: Navigate the interactive React dashboard to calculate interests visually.