chore(api): remove old code

This commit is contained in:
karishmas6
2024-05-27 20:55:11 +05:30
parent 977537a90e
commit 4c6b44dfd2

View File

@@ -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();