react_webapps🚀
Explore posts from serversGetting isssues on adding data to KV store
Logs
[wrangler:inf] POST /api/v1/renewal-reminders 200 OK (33ms)
Code:
const app = new Hono();
const openapi = fromHono(app, {
docs_url: "/swagger.html",
});
openapi.post('/api/v1/renewal-reminders', CreateRenewalReminder);
export class CreateRenewalReminder extends OpenAPIRoute {
async handle(ctx) {
const key = uniqueGenrationLoginc;
const data = await this.getValidatedData<typeof this.schema>();
const taskToCreate = data.body;
await ctx.env.RENEWAL_REMINDER_INFO_BRAND.put(
key,
JSON.stringify(taskToCreate)
) return { success: true, }; } } export default app https://github.com/orgs/honojs/discussions/3978
) return { success: true, }; } } export default app https://github.com/orgs/honojs/discussions/3978
11 replies
RRefine
•Created by deep-jade on 5/9/2024 in #ask-any-question
How to change data provider in pre existing template to strapi?
https://refine.dev/templates/react-admin-panel/
Data Provider: REST to Strapi
Auth Provider: JWT to Google OAuth
5 replies
RRefine
•Created by xenial-black on 7/8/2023 in #ask-any-question
How to add Google OAuth as Provider
I can see
providers
in Login Page but there is no where i can find implementation of defination of that maybe it will be list of objects!8 replies