Addded: .env.example, fixed build

This commit is contained in:
2024-05-02 00:09:26 +02:00
parent 96900fd3b3
commit 3227854086
5 changed files with 19 additions and 3 deletions

6
api/src/.env.example Normal file
View File

@ -0,0 +1,6 @@
APP_PORT=6060
APP_HOST=127.0.0.1
JWT_SECRET=generate_random_secret
DB_URI='mongodb://username:password@localhost:27017/database?authSource=admin'

View File

@ -0,0 +1,6 @@
import * as shell from 'shelljs';
// Copy all the view templates
//shell.cp('-R', 'src/views', 'dist/')
//shell.cp('-R', 'src/public', 'dist/');
shell.cp('-u', 'src/.env', 'dist/');