项目作者: sunilvijayan7

项目描述 :
A Time Tracker Solution for IT Companies. Developed in .net core, VUE JS, blazor pages and Azure SAAS
高级语言: C#
项目地址: git://github.com/sunilvijayan7/TimeTracker.git
创建时间: 2021-01-18T22:19:12Z
项目社区:https://github.com/sunilvijayan7/TimeTracker

开源协议:

下载


Dotnet-Core-Attendance-System

Attendance Web Application using .NET Core (CQRS pattern) & Vue.js

Prerequisite

  1. Install .Net Core 2.2 SDK https://dotnet.microsoft.com/download
  2. Install Node.js https://nodejs.org/en/download/
  3. Any relational database provider. https://docs.microsoft.com/en-us/ef/core/providers/
    • Create your database and configure the connection string in [appsettings.json]
    • Update DbContext option in [Startup.cs] (Skip these if you’re using MSSQL)

Build

  1. # Restore packages
  2. dotnet restore
  3. # Install Cake global
  4. dotnet tool install -g Cake.Tool
  5. # Run build.cake
  6. # - this task will build Api & Test .net core project
  7. # and install packages in Vue client
  8. dotnet-cake build.cake

Run

  • Api project
    ```bash
    cd .\src\Api\

Run

dotnet run

or Run with file watcher

dotnet watch run

  1. - Vue client
  2. - Use login: `admin` and password: `123456`
  3. ```bash
  4. cd .\src\Client\
  5. # Start dev w/ hot module replacement
  6. npm run serve
  • Integration Tests
    ```bash
    cd .\tests\Api\

Run tests

dotnet test

or Run with file watcher

dotnet watch test

  1. ### Local Publish ###
  2. ```bash
  3. # Publish .net core api and vue in `/dist` folder
  4. dotnet-cake build.cake --task="Publish"

Features

  • Fully separated Backend and Frontend
  • Swagger for api documentation (URL: http://localhost:5000/swagger/index.html)
  • CQRS Pattern (Command Query Responsibility Segregation)
  • Authentication based on Identity Framework & JWT Bearer
  • Integration Tests with XUnit
  • Material design
  • Realtime update on employee logs

Includes

  • .NET Core open-source general-purpose development platform maintained by Microsoft.
  • MediatR Simple, unambitious mediator implementation in .NET
  • Vue.js The Progressive JavaScript Framework.
  • Vuetify Material design component framework for Vue.js.

Online Resources