added deta.space configuration

This commit is contained in:
ak 2023-09-01 21:11:59 -07:00
parent d42a37b864
commit 22960e47fb
5 changed files with 22 additions and 3 deletions

3
.gitignore vendored
View file

@ -59,3 +59,6 @@ typings/
# next.js build output
.next
# detaspace
.space

6
Discovery.md Normal file
View file

@ -0,0 +1,6 @@
---
app_name: mini-board
tagline: Proof-of-concept minimal message board implemented in Express
---

11
Spacefile Normal file
View file

@ -0,0 +1,11 @@
# Spacefile Docs: https://go.deta.dev/docs/spacefile/v0
v: 0
micros:
- name: express-mini-message-board
src: ./
engine: nodejs16
primary: true
run: node ./bin/www
public_routes:
- /*
- /*/*

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "express-mini-message-board",
"version": "0.0.0",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "express-mini-message-board",
"version": "0.0.0",
"version": "1.0.0",
"dependencies": {
"debug": "^2.6.9",
"ejs": "^3.1.9",

View file

@ -2,7 +2,6 @@
"name": "express-mini-message-board",
"version": "1.0.0",
"private": true,
"main": "app.js",
"scripts": {
"start": "node ./bin/www"
},