Giter VIP home page Giter VIP logo

dotnet-core-attendance-system's Introduction

Dotnet-Core-Attendance-System

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

CircleCI paypal

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

# Restore packages
dotnet restore

# Install Cake global
dotnet tool install -g Cake.Tool

# Run build.cake
# - this task will build Api & Test .net core project
# and install packages in Vue client
dotnet-cake build.cake

Run

  • Api project
cd .\src\Api\

# Run 
dotnet run

# or Run with file watcher
dotnet watch run
  • Vue client
    • Use login: admin and password: 123456
cd .\src\Client\

# Start dev w/ hot module replacement
npm run serve
  • Integration Tests
cd .\tests\Api\

# Run tests 
dotnet test

# or Run with file watcher
dotnet watch test

Local Publish

# Publish .net core api and vue in `/dist` folder
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
  • Realtime Demo

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

dotnet-core-attendance-system's People

Contributors

dependabot[bot] avatar jioo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dotnet-core-attendance-system's Issues

European Timezone

If you're located in the European timezone you should adapt the SeedData.cs file as line 127 and 128 could cause problems.

DateTime.ParseExact(timeInString, "dd/MM/yyyy H:mm", null).ToUniversalTime().AddDays(-1);

Suggested change is:

var timeIn = DateTime.Parse(timeInString).ToUniversalTime().AddDays(-1);
var timeOut = DateTime.Parse(timeOutString).ToUniversalTime().AddDays(-1);

Email sent to me by: Jan Schelstraete

v2.0 Enhancements

Backend Tasks

  • Convert Generic Repository Pattern into (CQRS) Command Query Responsibility Segregation using MediatR.
  • Refactor Logs list query API with pagination and date filters.
  • Add Seed Data for Employees & Logs table

Frontend Tasks

  • Convert whole client with vue-cli-3
  • Refactor store & services into axios plugin
  • Integrate Logs datatable functions with server side API (search. sort, pagination)
  • Enhance filters in Logs page with start/end date.
  • Add configuration component for setting default time in/out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.