From 4c6b44dfd28f38cd9f2b390c44cc98b255c8486e Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Mon, 27 May 2024 20:55:11 +0530 Subject: [PATCH] chore(api): remove old code --- api/src/index.ts | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 api/src/index.ts diff --git a/api/src/index.ts b/api/src/index.ts deleted file mode 100644 index 8786d1a1..00000000 --- a/api/src/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -import Fastify from 'fastify' - -const fastify = Fastify(); - -fastify.get('/', async (request, reply) => { - return 'Hello there! 👋'; - -}) - -const start = async () => { - try { - await fastify.listen({ port: 8000 }); - console.log('Server listening on port 8000'); - } catch (err) { - console.error(err); - process.exit(1); - } -} - -start(); \ No newline at end of file