Objective In this post you will learn how to generate code against a sequelize model with Monstarillo. We will generate some documentation on the model in markdown format. Requirements To follow along you will need: A models.json file describing your sequelize model. You can generate this file following Export Sequelize Model Data For Use With Monstarillo. I will also provide a sample file...
How to Create Monstarillo Templates From Existing Code
Introduction In this post I will demonstrate how to create Monstarillo templates that generates code you like. I will show you how I take existing working code, a RESTFUL API using Node.js Express and Sequelize against a Postgres database and create monstarillo templates that will work against any sequelize model.. The code for this simple API can be found at . The API runs against the Chinhook...
Export Sequelize Model Data For Use With Monstarillo
In this tutorial you will learn how to export Sequelize model data for use with Monstarillo. You will then be able to use this exported data to generate code for your applications. In this tutorial I will create a simple sequelize model for the Postgres sample chinhook database using sequelize-auto. After creating the model I will write some Javascript code to export the model data into a json...
Generate a Rest API Using Go for a MySql Database
This tutorial will show you how you can generate a rest API using a Mysql database with monstarillo. The generated API will use Go, Gorm and Gin. The API will perform CRUD operations on the tables you run it against. What is Monstarillo Monstarillo is a template based code generator that works against Postgres, MySQL and Oracle databases. How it works Monstarillo runs templates that are...
Generate a REST API Using Java for a MYSQL database
This tutorial will show you how you can generate a rest API using Java for a Mysql database using monstarillo. The generated API will use Spring Boot and Springdoc to document it. The API will perform CRUD operations on the tables you run it against. Unit tests will also be generated for the API. What is Monstarillo Monstarillo is a template based code generator that works against Postgres, MySQL...
Generate a Rest API Using Go For a Postgres Database
This tutorial will show you how you can generate a rest API using Go for your Postgres database using monstarillo. The API will use Go, Gorm and Gin. The API will perform CRUD operations on the tables you run it against. What is Monstarillo Monstarillo is a template based code generator that works against Postgres, MySQL and Oracle. How it works Monstarillo runs templates that are executed...
Set up the Employees Sample Mysql Database in Docker
Introduction In this tutorial we will set up the employees sample Mysql database in a docker container and seed it with the Employees database from . To follow along you will need to have Docker installed BUild the docker Image The first step will be to build the docker image we will be using to stand up Postgres. To begin clone the repo . Open a command prompt and cd to the employees-db folder...
Generate a REST API Using Java for a Postgres database
This tutorial will show you how you can generate a rest API using Java for a Postgres database using monstarillo. The API will use Spring Boot and Springdoc to document it. The API will perform CRUD operations on the tables you run it against. Unit tests will also be generated for the API. What is Monstarillo Monstarillo is a template based code generator that works against Postgres, MySQL and...
Set up the Chinhook Sample Postgres Database in Docker
Build Docker Image In this tutorial we will set up the chinhook sample database in a docker container. To follow along with this tutorial you will need to have Docker installed, Git and some way to access the database. The first step will be to build the docker image we will be using to stand up Postgres. To begin clone the repo . Open a command prompt and cd to the chinhook-db folder in the reop...