Skip to content

yagorka1/HIMS.EF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HIMS.EF

Human resource management system 📚

Stack

back-end: .net framework 4.7.2, ASP.NET mvc, ASP.NET web api, c#

front-end: react.js, html, css, bootstrap, webpack

1) How to resolve issue with PK in views generated by EF?

2) Good tutorial in ENGLISH to read about EF

3) If you add new entity, procedure, view and etc., you need:

a) run script to add it to database on your local server <br/>
b) save script in HIMS.Database solution in an appropriate folder 
<br/>
c) update your HIMS.edmx model from your database 
<br/>
d) commit your changes

4) Git workflow

Hot to name a branch: your-name/feature
How to name a commit:

Bad: "I added some features to my controller"

Good: "Add GetUser action to UsersController"

git checkout <name of your branch>
git pull --rebase origin <name of origin branch>
(stach you shanges if you will be asked to do before pull and resolve conflicts 
if need and don't forget to apply your stach again)
	
git checkout -b <your-branch-name>
git status
git add . / git add "<name-of-file>"
git commit -m "<your-commit>"
git push -u origin <name of your branch>  // -u or --set-upstream
	
git checkout dev
git pull --rebase origin <name of origin branch> 
(stach you shanges if you will be asked to do before pull and resolve conflicts 
if need and don't forget to apply your stach again)
	
git merge <name of your branch> dev
git branch -d <name of your branch> //delete your branch after successful work completion
	
git push

5) How to enable sa user in MSSql youtube

6) How to map stored procedure in EF popular stackoverflow answer

7) We use SendGrid API to send confirmation email. To use the power of this tool you need to register at sendgrid official website

Important note! The api key can not to be available.

8) As for now we use jetbrains dotcover to check unit test coverage of the project, because it's only one integrated with VS 2019, later we will replace it with othe tool

9) To test our repositories we use Effort.EF6, because we need to fake our database and connection to it via EF dbcontext

About

Human resource management system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 75.2%
  • HTML 22.4%
  • TSQL 1.4%
  • Other 1.0%