This platform is, somewhat for making the grad onboarding process simpler. Also for creating a central location for tracking changes to personal information, certification, skills,project and etc.
https://www.figma.com/file/rPWv2FIKByov9GdtHWbhFG/HRIS-Working-File?node-id=0%3A1&mode=dev
- Microsoft Visual Studio Code
- Node.js v18.17.1
- Make sure to check version if you are using nvm
Cloning the repository
git clone 'https://[email protected]/retro-rabbit/RetroGradOnboard/_git/RGO-Client'
Open folder "RGO-Client" in Visual Studio Code
Make sure to have Git installed to run any Git command lines.
#cd RGO-Client
git checkout develop
Ensure the .env file is available in the root directory of the project.
#cd RGO-Client
npm install
#cd RGO-Client
ng serve (run 'npm start' if the command does not work.)
Runs on this location
To stop the run use "ctrl+c", enter y on the console running the project
This section outlines the best practices for naming APIs, variables, and methods. Following these conventions ensures consistency, readability, and ease of understanding in your API design.
- Use forward slash: For resource hierarchy and separation of URI resources.
- Use nouns, not verbs: To describe resources.
- Use plural nouns: To indicate collections.
- Lowercase letters: URLs should be typed in lowercase.
- Use hyphens to separate words: For readability and SEO benefits.
- Endpoint strings can be the same with different Request Mapping: Different HTTP methods can operate on the same URI.
Aspect | Correct Example | Incorrect Example |
---|---|---|
Use forward slash | /resource/subresource |
resource_subresource |
Use nouns, not verbs | /users |
/getUsers |
Use plural nouns | /orders |
/order |
Lowercase letters | /user-profile |
/User-Profile |
Use hyphens to separate words | /user-profile |
/user_profile |
Endpoint strings can be the same with different Request Mapping | Different methods for /employees/{id} (PUT, GET) |
Separate endpoints for each action |
- All variables in camelCase: For consistency and readability in code.
- Service references with underscore: To indicate a service or injected dependency.
Aspect | Correct Example | Incorrect Example |
---|---|---|
All variables in camelCase | employeeId |
EmployeeID or employee_id |
Service references with underscore | _employeeService |
employeeService |
- Method names in PascalCase: For clear identification as methods or actions.
- Descriptive names, except in lambdas: Names should clearly describe the method's purpose.
Aspect | Correct Example | Incorrect Example |
---|---|---|
Method names in PascalCase | SaveEmployeeDocument |
saveEmployeeDocument |
Descriptive names, except in lambdas | CalculateAnnualSalary |
CalcSalary or CS |