mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
321 B
12 lines
321 B
2 years ago
|
(async () => {
|
||
|
try {
|
||
|
const app = require('express')();
|
||
|
const {Noco} = require("nocodb");
|
||
|
const httpServer = app.listen(process.env.PORT || 8080);
|
||
|
app.use(await Noco.init({}, httpServer, app));
|
||
|
console.log(`Visit : localhost:${process.env.PORT}/dashboard`)
|
||
|
} catch(e) {
|
||
|
console.log(e)
|
||
|
}
|
||
|
})()
|