Skip to content

Commit

Permalink
Added nocodb
Browse files Browse the repository at this point in the history
Took 19 minutes
  • Loading branch information
mikepsinn committed Nov 26, 2021
1 parent 8f264bf commit 2bec21b
Show file tree
Hide file tree
Showing 8 changed files with 6,396 additions and 1,113 deletions.
10 changes: 10 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#PORT=8081 # default port to run on
#NC_DB= #See our database URLs A local SQLite will be created in root folder
#DATABASE_URL= #JDBC URL Format. Can be used instead of NC_DB. Used in 1-Click Heroku deployment
#DATABASE_URL_FILE= #path to file containing JDBC URL Format. Can be used instead of NC_DB. Used in 1-Click Heroku deployment
#NC_PUBLIC_URL= #Used for sending Email invitations Best guess from http request params
#NC_AUTH_JWT_SECRET= #JWT secret used for auth and storing other secrets A Random secret will be generated
#NC_SENTRY_DSN= #For Sentry monitoring
#NC_CONNECT_TO_EXTERNAL_DB_DISABLED= #Disable Project creation with external database
#NC_DISABLE_TELE= #Disable telemetry
#NC_BACKEND_URL= #Custom Backend URL
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ codegen/
oax/
swagger-ui/
/swagger-codegen-cli*
tmp
tmp
.env
/vendor/
Empty file added Dockerfile
Empty file.
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(async () => {
const app = require('express')();
const {Noco} = require("nocodb");
app.use(await Noco.init({}));
console.log(`Visit : localhost:${process.env.PORT}/dashboard`)
app.listen(process.env.PORT);
})()
1 change: 1 addition & 0 deletions nc/different_damselfly_ddh3/db/swagger/swagger.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions nc/graphql_v9yq/db/swagger/swagger.json

Large diffs are not rendered by default.

7,480 changes: 6,368 additions & 1,112 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"description": "",
"main": "index.js",
"scripts": {
"start": "node index.js",
"upgrade": "npm uninstall --save nocodb && npm install --save nocodb",
"download:unzip:copy": "gulp 0-download && gulp 1-decompress && gulp 3-copy-to-repos",
"test": "gulp check-responses",
"postinstall": "",
Expand All @@ -16,6 +18,9 @@
"author": "mikepsinn",
"license": "ISC",
"dependencies": {
"dotenv": "^8.2.0",
"express": "^4.17.1",
"nocodb": "^0.83.0",
"bower": "*",
"bugsnag": "*",
"del": "*",
Expand Down Expand Up @@ -44,3 +49,4 @@
"swagger-typescript-codegen": "3.0.2"
}
}

0 comments on commit 2bec21b

Please sign in to comment.