Last updated: 2022-03-21

  1. Learn
  2. Quickstart
  3. Free plan

Quickstart (Free plan)

With Bootify you can create your custom database model with REST API online, explore the generated code and download your runnable Spring Boot application. This page gives a quick overview of all the features in Bootify's Free plan.

Start project

In the Free plan, no registration is required - start your Project right away. Your project URL is saved in a cookie, but keep a backup as well.

Start project

1. General tab

Project settings

Define project group and name, select Gradle or Maven as your build tool, choose between Java or Kotlin and enable Lombok for the generated code. The most recent version of Spring Boot is always used (currently 2.6.7).

Project settings

Database settings

Select your relational, document-oriented or embedded database (PostgreSQL, MySQL, MariaDB, Oracle, MS SQL, MongoDB, Derby, H2, HSQL). Let Hibernate generate the schema (ddl-auto=update) or only validate it (ddl-auto=validate).

Database settings

Developer preferences

Choose further preferences for the generated code: use application.yml or application.properties for the application settings. Select your Java version and enable Swagger - Swagger UI will then be available in your running application.

Developer preferences

Dependencies

Bootify automatically adds required dependencies for your selected options, like the Spring starters and JDBC driver. Search and select additional dependencies on top.

Dependencies

2. Entities tab

Add Entities

Add your tables in the entities tab. The first field is always the primary key with type Integer, Long, UUID or String. The other fields can be required or unique and have more types to choose from, e.g. numeric and date types. When the REST option is enabled, controllers, services and data transfer objects are added to your code to provide basic CRUD operations.

Add Entities

Add Relations

Connect your entities with Many-to-one, One-to-one and Many-to-many relations. The given name is used as the field name in the java class (for example "creator") and "_id" is added to the column name at the database (for example "creator_id"). DocumentReference is used for MongoDB.

Add Relations

Import an existing schema

Import your existing SQL script to directly create the entities and relations from it. Only features available in Bootify can be imported.

Import an existing schema

Improve in iterations

See the UML preview as you develop your database schema. Exchange with your team to improve your model before writing a single line of code.

Improve in iterations

3. Data Objects tab

Create Enums

Enums can be added in the data objects tab. After its creation, the Enum can be selected as a field type at the entity.

Create Enums

Create Data Objects

Data Objects are basically plain java objects with a set of fields. These fields can refer other Data Objects as a field type, so it is possible to create complex structures. Data Objects are persisted as JSON when used as a field type at the entity.

Create Data Objects

Explore and download

Explore and download your generated code - with JPA / Hibernate entities or @Documents, @RestControllers and more. Having a working application with your database schema already in place, you can focus on implementing business logic instead.

Explore and download

The second part of the quickstart is covering the features of the Professional plan. Check out the other articles and the documentation for technical backgrounds and tips on working with the generated code.

Start Project
No registration required