![aherleym](https://github.com/10d3/10d3/raw/7592e308043055570b8f0521c586493fbd6f2a5b/0d8c6a27b4b039d5b9cfe8aa4777766d.png)
A passionate fullstack developer from Haiti
- Iโm currently working on AlloBillet
- Iโm currently learning Anything I find interesting
- All of my projects are available at herley.netlify.app
- I regularly (not really) write articles on herley.netlify.app/blog
- Ask me about React, NextJS, Django, NodeJS, TypeScript, TailWindCss
- How to reach me [email protected]
- Know about my experiences here
- I've already build my own NextJS Boilerplate
- Fun fact I think I'm funny
const plans = await stripe.plans.list({
active: true,
});
for (const plan of plans.data) {
await prisma.plan.upsert({
where: {
productPriceId: plan.id,
},
update: {
productId: plan.product as string,
price: plan.amount as number,
interval: plan.interval,
intervalCount: plan.interval_count,
},
create: {
productPriceId: plan.id,
productId: plan.product as string,
price: plan.amount as number,
interval: plan.interval,
intervalCount: plan.interval_count,
},
});
}