Initial code
This commit is contained in:
parent
f4a1afe71b
commit
c6d3e066c9
21 changed files with 2446 additions and 0 deletions
10
src/controllers/test/test.ts
Normal file
10
src/controllers/test/test.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { type FastifyReply, type FastifyRequest } from "fastify";
|
||||
import { testdb } from "../../store/store.js";
|
||||
|
||||
const test = async (request: FastifyRequest, reply: FastifyReply) => {
|
||||
testdb();
|
||||
|
||||
return [{ name: "Alice" }];
|
||||
};
|
||||
|
||||
export { test };
|
||||
Loading…
Add table
Add a link
Reference in a new issue