avances poderosos en ui
This commit is contained in:
0
api/routes/clientesRandom.js
Normal file
0
api/routes/clientesRandom.js
Normal file
@@ -1,12 +1,11 @@
|
||||
import express from 'express';
|
||||
import { PrismaClient } from './prisma/generated/client/index.js';
|
||||
import { Decimal } from '@prisma/client/runtime/library.js';
|
||||
|
||||
BigInt.prototype.toJSON = function () { return this.toString(); };
|
||||
Decimal.prototype.toJSON = function () { return this.toString(); };
|
||||
|
||||
const prisma = new PrismaClient();
|
||||
const app = express();
|
||||
export const app = express();
|
||||
app.use(express.json());
|
||||
|
||||
app.get('/api/test', (req, res) => res.json({ message: 'Hello World' }));
|
||||
|
||||
Reference in New Issue
Block a user