CurrencyConverter is a lightning-fast web application offering instant currency conversions with hourly updated rates. Enjoy a responsive design for seamless use on any device, and an intuitive interface for easy navigation.
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/gabrielpalassi/CurrencyConverter.git
-
Install dependencies:
cd CurrencyConverter bun run post-clone
In the root directory run:
bun run start
This will start both front and back-end projects.
Your browser should automatically open at http://localhost:4200
, where the app will be accessible.
To ensure code quality and consistency, the following tools are required and should be run from the root of the repository:
-
Formatting: Use Prettier to automatically format your code according to the project's style guidelines.
bun run format
-
Linting: Employ ESLint to identify and address code quality issues.
bun run lint
-
Format and Lint: Run both formatting and linting in one step to ensure your code meets all quality standards.
bun run format-and-lint
-
Pre-commit: This script runs before each commit to enforce code quality. It performs formatting checks with Prettier and linting checks with ESLint, in that order. The commit will only proceed if all checks pass.
bun run pre-commit
We welcome contributions from the community! To get started, please follow these guidelines:
We use Husky to enforce commit message conventions. Please ensure your commit messages adhere to the following format:
<type>(<scope>): <subject>
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
The scope should be the name of the module affected (as perceived by the person reading the changelog generated from commit messages). It could also be something like the feature worked on, etc.
The subject contains a succinct description of the change:
- Use the imperative, present tense: "change" not "changed" nor "changes"
- Do not capitalize the first letter
- Do not end the subject with a period
- Fork the repository.
- Create your feature branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'feat(scope): add new feature'
). - Push to the branch (
git push origin feature/your-feature
). - Open a pull request.
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.
Thank you for your contributions!
This project is licensed under the GPL-3.0 License. See the LICENSE file for more information.
Happy converting!