feat: 🚀 😃 convert repo into a monorepo 🚀 😃 (#51)

* Merge main into turbo-monrepo

* feat: rename apps

* feat: remove supbase videos and serve all from project

* feat: move supabase to root

* feat: update README

* docs: update link
This commit is contained in:
Rotimi Best
2023-11-25 21:56:02 +00:00
committed by GitHub
parent 03ca379094
commit 41e29014ef
806 changed files with 85853 additions and 5746 deletions
+35892
View File
File diff suppressed because one or more lines are too long
+6 -9
View File
@@ -2,19 +2,16 @@
// https://deno.land/manual/getting_started/setup_your_environment
// This enables autocomplete, go to definition, etc.
console.log("Hello from Functions!")
console.log('Hello from Functions!');
Deno.serve(async (req) => {
const { name } = await req.json()
const { name } = await req.json();
const data = {
message: `Hello ${name}!`,
}
message: `Hello ${name}!`
};
return new Response(
JSON.stringify(data),
{ headers: { "Content-Type": "application/json" } },
)
})
return new Response(JSON.stringify(data), { headers: { 'Content-Type': 'application/json' } });
});
// To invoke:
// curl -i --location --request POST 'http://localhost:54321/functions/v1/' \