Move Api to Server

This commit is contained in:
Daniel J. Summers 2021-09-25 11:45:26 -04:00
parent 72cb07ab4d
commit 371f5d7385
11 changed files with 17 additions and 14 deletions

10
.gitignore vendored
View File

@ -254,13 +254,3 @@ paket-files/
# Ionide VSCode extension
.ionide
# Compiled files / application
src/MyPrayerJournal/Api/*.db
src/MyPrayerJournal/Api/wwwroot/favicon.ico
src/MyPrayerJournal/Api/wwwroot/index.html
src/MyPrayerJournal/Api/wwwroot/*.js
src/MyPrayerJournal/Api/wwwroot/*.js.map
src/MyPrayerJournal/Api/wwwroot/css
src/MyPrayerJournal/Api/wwwroot/js
src/MyPrayerJournal/Api/appsettings.Development.json

View File

@ -8,9 +8,9 @@
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"apistart": "cd ../Api && dotnet run",
"publish": "vue-cli-service build --modern && cd ../Api && dotnet publish -c Release -r linux-x64 --self-contained false",
"vue": "vue-cli-service build --development && cd ../Api && dotnet run"
"apistart": "cd ../Server && dotnet run",
"publish": "vue-cli-service build --modern && cd ../Server && dotnet publish -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained false",
"vue": "vue-cli-service build --development && cd ../Server && dotnet run"
},
"dependencies": {
"@vueuse/core": "^6.4.1",

View File

@ -1,6 +1,6 @@
module.exports = {
lintOnSave: false,
outputDir: "../Api/wwwroot",
outputDir: "../Server/wwwroot",
configureWebpack: {
module: {
rules: [{

13
src/MyPrayerJournal/Server/.gitignore vendored Normal file
View File

@ -0,0 +1,13 @@
## LiteDB database file
*.db
## Web application compile output
wwwroot/favicon.ico
wwwroot/index.html
wwwroot/*.js
wwwroot/*.js.map
wwwroot/css
wwwroot/js
## Development settings
appsettings.Development.json