Laborator is a simple Node.js project built on the Fastify framework, designed to create scalable, secure, and reliable applications while ensuring a smooth developer experience.
1 variant - Currencies
Для валют - потрібно зробити окрему сутність, також для кожного користувача повинна бути валюта по замовчуванню(її можна встановити) а також при створенні витрати, можна вказувати валюту, проте не обов’язково(якщо не вказали то буде використана валюта по замовчуванню).
- Node.js (only for development): v22 or later
- Docker: Ensure you have Docker installed on your system.
- Unix Shell: A Unix-like shell is required for running scripts.
To clone the repository, run the following commands in your terminal:
git clone https://github.com/ipassternak/laborator.git
cd laborator
To initialize the development environment, execute the following script:
compose/dev/init.sh
You can run the project locally using either Docker or directly with Node.js.
Option 1: Using Docker
With Docker, you don’t need to have Node.js installed on your system. Docker Compose will install all required dependencies and set up the project for you. However, if you wish to contribute to the project, it's recommended to use the latest version of Node.js.
docker-compose -f path/to/compose/dev/Dockerfile up -d
Option 2: Using Node.js
The project supports hot reloading out of the box. Start the development process, and any changes you make will immediately reflect in the running project:
npm i # -- install all required dependencies
npm run dev
Contributions are welcome! Please feel free to submit issues or pull requests.
This project is licensed under the MIT License