This project uses emotion recognition to give teachers feedback about their lectures by analyzing students' mood.
- Visual Studio 2019
- .NET 4.7.2
- SQL Server
- NuGet (package management)
- AutoFac (dependency injection)
- Affdex (emotion recognition)
- xUnit (unit testing)
We use SQL Server.
Go to SQLServer project -> PublishProfiles and open LocalSQLServerDatabase.publish.xml file. From there press Publish. Your local database can be found in View -> SQL Server Object Explorer (or shortcut Ctrl+\, Ctrl+S) -> (localdb)\MSSQLLocalDB -> Databases -> MoodDetectorDB.
Go to SQLServer project -> dbo -> (Context menu) Add -> Table.
To update database (e.g. when files inside SQLServer -> dbo are changed) you need to open LocalSQLServerDatabase.publish.xml and click Publish again. This will update changed tables, views to match the ones defined in dbo folder files.
PascalCaseClass name; Constructor name; Method name; Constants name; Properties name; Delegate name; Enum type namecamelCasemethod arguments; local variables, _field name- Do prefix Interfaces with letter
Ie.g.IExample - Do prefix field names with underscore e.g.
_fieldName
- For task management we use GitHub's inbuilt task board
- We name our branches
Task#<task_number>e.g.Task#1- Create a new local branch and go to it using
git checkout -b Task#<task_number>
- Create a new local branch and go to it using
- We use
pull requestsfor code reviews and, after approval, merge them usingsquash mergingoption - When making a pull request make sure your branch is updated to the latest master
git commitchanges made in your branch use-moption to add a message with commit e.g.git commit -m "<changes_made>"- Go to master branch with
git checkout masterand update it usinggit pull - Go back to your branch
git checkout Task#<task_number> - Merge master into your branch
git merge master - You might get merge conflicts, resolve them
git addchanged files andgit committhemgit pushyour changes to remote branch