basic dal and json

This commit is contained in:
2025-11-18 23:14:26 -07:00
parent 0e8f43f686
commit 0d33259f1e
10 changed files with 528 additions and 49 deletions

View File

@@ -1 +1,15 @@
//Starts
const express = require('express')
const { DAL } = require('./src/dal/staticDal')
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.json(DAL.getVehicles())
})
app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})