Connect frontend and backend

This commit is contained in:
2023-06-09 20:26:26 +04:00
parent f2294819b2
commit d7e444a46c
6 changed files with 145 additions and 10 deletions

View File

@@ -1,10 +1,10 @@
{
"private": true,
"scripts": {
"db:dump": "sqlite3 ../data/data.db .dump > ../schema/dump.sql",
"db:import": "rm -f ../data/data.db && sqlite3 ../data/data.db < ../schema/dump.sql",
"dev": "nodemon --exec directus start",
"start": "directus start",
"snapshot": "directus schema snapshot --yes ../schema/snapshot.yaml",
"dump": "sqlite3 ../data/data.db .dump > ../schema/dump.sql"
"start": "directus start"
},
"dependencies": {
"directus": "10.2.1",