This is the repository responsible for BSA Talents apps.
-
Backend β BSA Talents application backend.
To work properly, fill in the
.env
file. Use the.env.example
file as an example. -
Frontend β BSA Talents application frontend.
To work properly, fill in the
.env
file. Use the.env.example
file as an example. -
Mobile β BSA Talents application mobile.
To work properly, fill in the
.env
file. Use the.env.example
file as an example. -
Shared β BSA Talents application common modules for reuse.
- NodeJS (18.x.x);
- NPM (8.x.x);
- PostgreSQL (15.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).
erDiagram
users {
varchar id PK
dateTime created_at
dateTime updated_at
citext email
enum role "talent employer admin"
text password_hash
}
user_details ||--|| users : user_id
user_details ||..|o files : photo_id
user_details ||..|o files : company_logo_id
user_details ||..|o files : cv_id
user_details {
varchar id PK
dateTime created_at
dateTime updated_at
varchar user_id FK
boolean is_approved
varchar denied_reason
boolean is_hired
varchar profile_name
int salary_expectation
int hired_salary
varchar job_title
varchar location
decimal experience_years
text[] employment_type
text description
varchar english_level
text[] not_considered
text[] preferred_languages
text[] project_links
varchar photo_id FK
varchar full_name
varchar phone
varchar linkedin_link
varchar company_name
varchar company_logo_id FK
varchar company_website
varchar employer_position
varchar cv_id FK
enum completed_step "profile bsa-badges skills-and-projects cv-and-contacts preview"
dateTime published_at
enum search_type "active passive"
}
files {
varchar id PK
dateTime created_at
dateTime update_at
varchar url
varchar etag
varchar file_name
}
hard_skills{
varchar id PK
dateTime created_at
dateTime update_at
varchar name
}
talent_hard_skills }|..|o user_details : user_details_id
talent_hard_skills }|..|| hard_skills : hard_skill_id
talent_hard_skills{
varchar id PK
dateTime created_at
dateTime update_at
varchar user_details_id FK
varchar hard_skill_id FK
}
bsa_badges{
varchar id PK
dateTime created_at
dateTime update_at
varchar name
varchar type
int max_score
}
talent_badges }|--|| users : user_id
talent_badges }|--|o user_details : user_details_id
talent_badges }|--|| bsa_badges : badge_id
talent_badges{
varchar id PK
dateTime created_at
dateTime update_at
int score
varchar level
boolean is_shown
varchar user_id FK
varchar user_details_id FK
varchar badge_id FK
}
chat_messages ||--|| user_details : user_id
chat_messages{
varchar id PK
dateTime created_at
dateTime update_at
text message
varchar sender_id FK
varchar receiver_id FK
varchar chat_id
boolean isRead
}
npm install
at the root- Fill ENVs
npx simple-git-hooks
at the rootcd backend && npm run migrate:dev
thennpm run start:dev
cd frontend && npm run start:dev
- Enjoy β€οΈ
- React β a frontend library.
- Redux + Redux Toolkit β a state manager.
- simple-git-hooks β a tool that lets you easily manage git hooks.
- lint-staged β run linters on git staged files.
- dangerjs β automate common code review chores.
- commitlint β helps your team adhere to a commit convention.
- 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.
<project-prefix>-<issue-number>: <ticket-title>
bt-5: Add auth
<type>/<project-prefix>-<issue-number>-<short-desc>
- task
- fix
task/bt-5-add-clinician-dashboard
task/bt-12-add-clinician-flow
fix/bt-16-fix-clinician-flow
<project-prefix>-<issue-number>: <modifier> <description>
+
(add)*
(edit)-
(remove)
bt-5: + title for dashboard
bt-12: * dashboard title
bt-16: - dashboard title
CI/CD implemented using GitHub Actions