Welcome to ocular—a small budgeting app as an alternative to Google sheet's annual budget planner. Every contribution is welcome, no matter if it's a bug report, a feature request, or a pull request. Make sure to check out the guidelines below before you start to make sure everything goes smoothly :)
Make sure you have the following installed:
After you've installed the required software, follow these steps:
- Clone this repository via
git clone https://github.com/simonwep/ocular
. - Run
pnpm install
in the root directory. - Copy the
.env.example
to.env
, you can leave the default values. - Start both the back- and frontend with
pnpm dev
. - Open
http://localhost:3000
in your browser.
You're now ready to start developing 🚀
This project strictly follows Conventional Commits. Check out their explanation in case you're not familiar with it.
Since this project's scope is rather small, we only use types to categorize our commits:
feat
- A new feature.chore
- A small task that doesn't add any new features or fix any bugs.refactor
- A code change that neither fixes a bug nor adds a feature.fix
- A bug fix.docs
- Documentation only changes.
To add support for a new language, you need to do the following:
- Add a new file under
src/i18n/locales
with the language code as the filename (e.g.en.json
). - Import the file from step 1. in
src/i18n/index.ts
and add it to themessages
constant.
To add support for a new currency, you need to do the following:
- Add your currency code to src/store/state/types.ts to both
availableCurrencies
andAvailableCurrency
.
If you want to add a new feature, make sure to create an issue first to discuss it, so we can make sure it fits the project's scope. I appreciate every contribution, but I want to keep the project focused on its main goal.