This article describes how to access PlanetScale from Sequelize. The related resources are shown below.
module.exports = function (sequelize, DataTypes) { | |
const article = sequelize.define('article', {}) | |
article.associate = (models) => { | |
article.belongsTo(models.user) | |
} | |
return article | |
} |
import 'bootstrap/dist/css/bootstrap.css' | |
import type { AppProps } from 'next/app' | |
function MyApp({ Component, pageProps }: AppProps) { | |
return <Component {...pageProps} /> | |
} | |
export default MyApp |
While coding with Sequelize, I found an interesting behavior where when I deleted a record in a child model, the record in the parent model was deleted. This article describes how to reproduce and prevent the behavior. The related resources are shown below.
This article describes how to convert text to speech with Cloud Text-to-Speech from Google Cloud Platform (GCP) in Node.js. The related resources are shown below.
🌹 Node.js tutorial to make Google Forms within 3 hours | Hana Forms Admin (a subsystem for users to manage forms) [demo video available]
This article describes how to make a online form creator like Google Forms Forms in Node.js. The online form creator implemented in this article consists of the following two subsystems.
/node_modules/ | |
/.env | |
/test.pdf |
🌻 Node.js tutorial to make Google Forms within an hour | Hana Forms Public (a subsystem for users to enter their answers) [demo video available]
This article describes how to make a online form creator like Google Forms in Node.js. The online form creator implemented in this article consists of the following two subsystems.
In this article, I will introduce how to download text files etc. with JavaScript on the front end (browser side). The related resources are as follows.