forked from PoskOfficial/Miti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Spacefile
37 lines (32 loc) · 915 Bytes
/
Spacefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Spacefile Docs: https://go.deta.dev/docs/spacefile/v0
v: 0
icon: ./frontend/public/icon/icon-512x512.png
micros:
- name: backend
src: backend
path: api
engine: nodejs16
presets:
# api_keys: true
env:
- name: GOOGLE_CLIENT_ID
description: Google client idß
default: "Your Google client id"
- name: GOOGLE_CLIENT_SECRET
description: Google client secreta
default: "Your Google client secret"
- name: CUSTOM_DOMAIN
description: Your Custom domain, used for redirecting to frontend"
primary: false
run: "pwd && ls && node index.js"
dev: "nodemon --watch src --exec 'ts-node src/index.ts'"
public: true
- name: frontend
src: frontend
engine: static
primary: true
commands:
- npm run build
serve: dist/
public: true
dev: npm run dev -- --port $PORT