As an online auction platform, “Vse-bude” provides a simple and secure environment for anyone who wants to both support Ukraine and sell an item which they no longer find a need in and hand it over to new potential owners via the auction bidding system. The funds that will be raised during those auctions will be donated to one of Ukraine's accredited charity organisations/funds and the item will be delivered to its new owner.
- NodeJS (16.x.x)
- NPM (8.x.x)
Note: If you are using Windows, do these two additional steps before cloning the repo:
- Change
eolsetting in your code editor tolf. - Change the
autocrlfsetting toinputin the Git settings:
git config --global core.autocrlf input
- Create DB using PostgreSQL
- Fill
.envinpackages/backendfolder - Run
cd packages/backend && npm run db:generate && npm run db:migrate && npm run db:seed
- Fill
.envinpackages/frontendfolder
- Fill
.envinpackages/mobilefolder
npm run install:allat the root- Start backend
cd packages/backend && npm run start - Start frontend
cd packages/frontend && npm run start - Start mobile
cd packages/mobile && npm run startornpm run androidornpm run iosin a new terminal
There are also other npm scripts, they are used for code style checks and linting
- Prisma - an ORM
- Express - a node.js framework
- PostgreSql - for DB
- Next - React framework
- Emotion - styling
- Redux - state container for JS apps
- Redux/Toolkit - toolset for efficient Redux development
- React-Native - UI software framework
- Redux - state container for JS apps
- Redux/Toolkit - toolset for efficient Redux development
- Joi - schema description language and data validator for JS
We have certain quality criteria, which we should follow during application development.
Commit message must have next structure:
<project-prefix>-<task #>: <description>
task #- Trello task numberdescription- a short summary of code changes
Examples:
VB-15: add private routesVB-9: change button-stylesVB-32: fix user profile avatar
In this project we follow with Pull Request process. Two main branches (main and release) are protected with Github branch protection rules:
- Require pull request with 1 review from code owner before merging
- Require all ci checks
Normal flow is to create a new branch for each task or group of linked tasks. Name of branch must have next structure:
<prefix>/<description>
prefix- allowed prefixes:feature,fix.description- a short summary of the task
Examples:
feature/add-private-routesfix/adjust-button-styles
After task is completed ― create PR of your branch into main and assign other developers to review.