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 VSCode extension
.ionide .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", "serve": "vue-cli-service serve",
"build": "vue-cli-service build", "build": "vue-cli-service build",
"lint": "vue-cli-service lint", "lint": "vue-cli-service lint",
"apistart": "cd ../Api && dotnet run", "apistart": "cd ../Server && dotnet run",
"publish": "vue-cli-service build --modern && cd ../Api && dotnet publish -c Release -r linux-x64 --self-contained false", "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 ../Api && dotnet run" "vue": "vue-cli-service build --development && cd ../Server && dotnet run"
}, },
"dependencies": { "dependencies": {
"@vueuse/core": "^6.4.1", "@vueuse/core": "^6.4.1",

View File

@ -1,6 +1,6 @@
module.exports = { module.exports = {
lintOnSave: false, lintOnSave: false,
outputDir: "../Api/wwwroot", outputDir: "../Server/wwwroot",
configureWebpack: { configureWebpack: {
module: { module: {
rules: [{ 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