Skip to content

Commit 2bec21b

Browse files
committed
Added nocodb
Took 19 minutes
1 parent 8f264bf commit 2bec21b

File tree

8 files changed

+6396
-1113
lines changed

8 files changed

+6396
-1113
lines changed

.env.example

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#PORT=8081 # default port to run on
2+
#NC_DB= #See our database URLs A local SQLite will be created in root folder
3+
#DATABASE_URL= #JDBC URL Format. Can be used instead of NC_DB. Used in 1-Click Heroku deployment
4+
#DATABASE_URL_FILE= #path to file containing JDBC URL Format. Can be used instead of NC_DB. Used in 1-Click Heroku deployment
5+
#NC_PUBLIC_URL= #Used for sending Email invitations Best guess from http request params
6+
#NC_AUTH_JWT_SECRET= #JWT secret used for auth and storing other secrets A Random secret will be generated
7+
#NC_SENTRY_DSN= #For Sentry monitoring
8+
#NC_CONNECT_TO_EXTERNAL_DB_DISABLED= #Disable Project creation with external database
9+
#NC_DISABLE_TELE= #Disable telemetry
10+
#NC_BACKEND_URL= #Custom Backend URL

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ codegen/
2727
oax/
2828
swagger-ui/
2929
/swagger-codegen-cli*
30-
tmp
30+
tmp
31+
.env
32+
/vendor/

Dockerfile

Whitespace-only changes.

index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
(async () => {
2+
const app = require('express')();
3+
const {Noco} = require("nocodb");
4+
app.use(await Noco.init({}));
5+
console.log(`Visit : localhost:${process.env.PORT}/dashboard`)
6+
app.listen(process.env.PORT);
7+
})()

nc/different_damselfly_ddh3/db/swagger/swagger.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

nc/graphql_v9yq/db/swagger/swagger.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 6368 additions & 1112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"description": "",
66
"main": "index.js",
77
"scripts": {
8+
"start": "node index.js",
9+
"upgrade": "npm uninstall --save nocodb && npm install --save nocodb",
810
"download:unzip:copy": "gulp 0-download && gulp 1-decompress && gulp 3-copy-to-repos",
911
"test": "gulp check-responses",
1012
"postinstall": "",
@@ -16,6 +18,9 @@
1618
"author": "mikepsinn",
1719
"license": "ISC",
1820
"dependencies": {
21+
"dotenv": "^8.2.0",
22+
"express": "^4.17.1",
23+
"nocodb": "^0.83.0",
1924
"bower": "*",
2025
"bugsnag": "*",
2126
"del": "*",
@@ -44,3 +49,4 @@
4449
"swagger-typescript-codegen": "3.0.2"
4550
}
4651
}
52+

0 commit comments

Comments
 (0)