Skip to content

Commit e291c21

Browse files
init: setup LeaseFlow API
1 parent 8f3af60 commit e291c21

File tree

608 files changed

+65621
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

608 files changed

+65621
-2
lines changed

README.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

index.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
const express = require('express');
2+
const cors = require('cors');
3+
const app = express();
4+
const port = 3000;
5+
6+
app.use(cors());
7+
app.use(express.json());
8+
9+
app.get('/', (req, res) => {
10+
res.json({
11+
project: 'LeaseFlow Protocol',
12+
status: 'Active',
13+
contract_id: 'CAEGD57WVTVQSYWYB23AISBW334QO7WNA5XQ56S45GH6BP3D2AVHKUG4'
14+
});
15+
});
16+
17+
app.listen(port, () => {
18+
console.log(`LeaseFlow Backend listening at http://localhost:${port}`);
19+
});

0 commit comments

Comments
 (0)