You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Any relational database provider. See list at: [https://docs.microsoft.com/en-us/ef/core/providers/](https://docs.microsoft.com/en-us/ef/core/providers/)
13
+
- Note: MSSQL is the default provider in the source code.
10
14
11
-
# Navigate to Web Api folder
12
-
cd WebApi
15
+
### Build ###
16
+
```bash
17
+
# Install Cake global tool first
18
+
dotnet tool install -g Cake.Tool
13
19
14
-
# Restore NuGet packages
15
-
dotnet restore
20
+
# Run build.cake
21
+
# - this task build Api & Test .net core project
22
+
# and install packages in Vue client
23
+
dotnet-cake build.cake
24
+
```
16
25
17
-
# Prepare user secret
18
-
dotnet user-secrets set "AppSecret" "__YOUR_SECRET_KEY__"
26
+
### Run ###
27
+
- Api project
28
+
```bash
29
+
cd .\src\Api\
19
30
20
-
# Migrate database
21
-
dotnet ef database update
31
+
#Run
32
+
dotnet run
22
33
23
-
# Start server w/ file watcher
34
+
#or Run with file watcher
24
35
dotnet watch run
36
+
```
37
+
- Vue client
38
+
- Use login: `admin` and password: `123456`
39
+
```bash
40
+
cd .\src\Api\
25
41
26
-
# Navigate to Web Client folder
27
-
cd WebClient
42
+
# Start dev w/ hot module replacement
43
+
npm run serve
44
+
```
45
+
- Integration Tests
46
+
```bash
47
+
cd .\tests\Api\
28
48
29
-
# Install dependecies
30
-
npm i
49
+
# Run tests
50
+
dotnet test
51
+
```
31
52
32
-
# Start client dev w/ hot module replacement
33
-
npm run serve
53
+
### Local Publish ###
54
+
```bash
55
+
# Publish .net core api and vue in `/dist` folder
56
+
dotnet-cake build.cake --task="Publish"
34
57
```
35
58
36
59
### Features ###
@@ -41,19 +64,11 @@ npm run serve
41
64
* Authentication based on Identity Framework & JWT Bearer
42
65
* Material design
43
66
* Realtime update on employee logs
67
+

44
68
45
69
### Includes ###
46
70
47
-
*[.NET Core 2.1](https://docs.microsoft.com/en-us/dotnet/core/) open-source general-purpose development platform maintained by Microsoft.
48
-
*[Entity Framework Core](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/) lightweight and extensible version of the popular Entity Framework data access technology.
49
-
*[AspNetCore.Identity](https://www.nuget.org/packages/Microsoft.AspNetCore.Identity/) ASP.NET Core Identity is the membership system including membership, login, and user data.
71
+
*[.NET Core](https://docs.microsoft.com/en-us/dotnet/core/) open-source general-purpose development platform maintained by Microsoft.
50
72
*[MediatR](https://github.com/jbogard/MediatR) Simple, unambitious mediator implementation in .NET
51
-
*[AutoMapper]() A convention-based object-object mapper.
52
-
*[Microsoft.AspNetCore.SignalR](https://www.nuget.org/packages/Microsoft.AspNetCore.SignalR/) Components for providing real-time bi-directional communication across the Web.
53
73
*[Vue.js](https://vuejs.org/) The Progressive JavaScript Framework.
54
-
*[Vue CLI 3](https://cli.vuejs.org/) Standard Tooling for Vue.js Development.
55
-
*[Vuetify](https://vuetifyjs.com/en/) Material design component framework for Vue.js.
56
-
*[Vuex](https://vuex.vuejs.org/en/intro.html) State management pattern + library for Vue.js.
57
-
*[Vue-Router](https://router.vuejs.org/en/) Vue Router is the official router for Vue.js.
58
-
*[Axios](https://github.com/axios/axios) Promise based HTTP client for the browser and node.js.
59
-
*[@aspnet/signalr](https://github.com/aspnet/SignalR) JavaScript and TypeScript clients for SignalR for ASP.NET Core
74
+
*[Vuetify](https://vuetifyjs.com/en/) Material design component framework for Vue.js.
0 commit comments