GithubHelp home page GithubHelp logo

kyrylo-burmelov / bsa-2022-guruhub Goto Github PK

View Code? Open in Web Editor NEW

This project forked from binarystudioacademy/bsa-2022-guruhub

0.0 0.0 0.0 3.38 MB

Shell 0.91% JavaScript 1.38% Ruby 1.49% C++ 8.20% Objective-C 2.81% Java 18.49% TypeScript 57.04% Objective-C++ 5.23% Makefile 1.77% HTML 1.23% SCSS 0.75% Starlark 0.71%

bsa-2022-guruhub's Introduction

BSA-2022 | GuruHub

ℹ️ General Info

This is the repository responsible for GuruHub's apps.

🏭 Applications

  • Backend — GuruHub's application backend.

    To work properly, fill in the .env file. Use the .env.example file as an example.

  • Frontend — GuruHub's application frontend.

    To work properly, fill in the .env file. Use the .env.example file as an example.

  • Shared — GuruHub's application common modules for reuse.

🖍 Requirements

  • NodeJS (16.x.x);
  • NPM (8.x.x);
  • PostgreSQL (14.2)
  • run npx simple-git-hooks at the root of the project, before the start (it will set the pre-commit hook for any commits).

🏃‍♂️ Simple Start

  1. npm run install:all at the root
  2. Fill ENVs
  3. npx simple-git-hooks at the root
  4. npm run start:dev at the root
  5. Enjoy <3

Architecture

🏗 Application Schema

TODO

💽 DB Schema

erDiagram
  users {
      int id
      string email
      text  password_hash
      text password_salt
      dateTime created_at
      dateTime updated_at
  }

🧑‍💻 CI

🗜 Tools

🌑 Backend

🌕 Frontend

🥊 Code quality

  • simple-git-hooks — a tool that lets you easily manage git hooks.
  • lint-staged — run linters on git staged files.
  • editorconfig — helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.
  • prettier — an opinionated code formatter.
  • ls-lint — file and directory name linter.
  • eslint – find problems in your JS code
  • stylelint – Find and fix problems in your CSS code

🗞 Git

📊 Branches

  • production - production source code.
  • development - staging source code.

🌳 Branch flow

<type>/<project-prefix><ticket-number>-<short-desc>
Types:
  • task
  • fix
Examples:
  • task/design5-add-signin-page
  • task/blog12-add-filters
  • fix/design16-fix-signup-validation

🗂 Commit flow

<project-prefix>-<ticket-number>: <modifier> <desc>
Modifiers:
  • + (add)
  • * (edit)
  • - (remove)
Examples:
  • blog-5: + form component
  • design-12: * filter markup
  • blog-16: - require prop for nickname field

📦 CD

Handled by GitHub Actions.

bsa-2022-guruhub's People

Contributors

what1s1ove avatar liza-veis avatar andanf-e avatar

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.