Git Product home page Git Product logo

bsa-2022-vse-bude's Introduction

Vse Bude πŸ‡ΊπŸ‡¦

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.

Packages πŸ“¦

Requirements:

  • NodeJS (16.x.x)
  • NPM (8.x.x)

Note: If you are using Windows, do these two additional steps before cloning the repo:

  • Change eol setting in your code editor to lf.
  • Change the autocrlf setting to input in the Git settings:
git config --global core.autocrlf input

Before start

Backend πŸ’Ύ

  • Create DB using PostgreSQL
  • Fill .env in packages/backend folder
  • Run cd packages/backend && npm run db:generate && npm run db:migrate && npm run db:seed

Frontend πŸ–₯

  • Fill .env in packages/frontend folder

Mobile πŸ“±

  • Fill .env in packages/mobile folder

How to start

  • npm run install:all at 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 start or npm run android or npm run ios in a new terminal

There are also other npm scripts, they are used for code style checks and linting

DB Schema

DB Schema

Technologies πŸ› 

Backend

Frontend

Mobile

Shared

  • Joi - schema description language and data validator for JS

Code quality

We have certain quality criteria, which we should follow during application development.

Git flow

Commits

Commit message must have next structure:

<project-prefix>-<task #>: <description>
  • task # - Trello task number
  • description - a short summary of code changes

Examples:

  • VB-15: add private routes
  • VB-9: change button-styles
  • VB-32: fix user profile avatar

Branches

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-routes
  • fix/adjust-button-styles

After task is completed ― create PR of your branch into main and assign other developers to review.

Team rules 🧐

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.