Skip to content

Infostack is a flexible and easy-to-use solution that makes documentation a joy to write.

Notifications You must be signed in to change notification settings

BinaryStudioAcademy/bsa-2021-infostack

Repository files navigation

Infostack

Requirements:

  • NodeJS (14.x.x);
  • NPM (6.x.x);
  • PostgreSQL (13.x);
  • Elasticsearch (7.13.0)

Code quality

Static analyzers are used for both frontend and backend projects to ensure basic code quality. Additionally, quality criteria rules are enforced during code review and audit.

Commits

This project follows the Conventional Commits specification

Branches

In this project we follow with Pull Request process. Two main branches are protected with a Github branch protection rules:

  • master: Require pull request with 3 reviews before merging
  • develop: Require pull request with 2 review before merging

Normal flow is to create new branch for each task or group of linked tasks. Name of branch must have next structure:

<prefix>/<problem-name>

Allowed prefixes: new/, patch/, fix/. Problem name it's a text summary of problem or ticket id.

Examples:

  • fix/user-profile-avatar
  • fix/#543
  • patch/button-styles

After task is completed ― create PR of your branch into develop and assign two other developers to review. Assign one student and one coach.

🗂 Shared

This folder contains all common (helpers, enums and etc.) stuff for other applications (backend, frontend and etc.).

⚙️ BackEnd

For the BackEnd to work properly, you need to fill in the .env file. You can use the .env.example file as an example.

💡 FrontEnd

For the FrontEnd to work properly, you need to fill in the .env file. You can use the .env.example file as an example.

🏃‍♂️ Simple start

  1. npm run install:all at the root
  2. Fill ENVs
  3. npm run start:dev at the root

About

Infostack is a flexible and easy-to-use solution that makes documentation a joy to write.

Resources

Stars

Watchers

Forks