Skip to main content

Introduction

In this part, we will see how to configure your back-office to perfectly fit your business needs.

Keep in mind that there are two types of configuration for Adminmate, the manual configuration you do directly in the back-office UI and the Data API configuration.

We will talk about both in this documentation, as the manual & coding configuration are complimentary between each others.

In this part we assume you have successfully installed the Data API.

At this stage your project should look like this:

.env
server.js
database.js
config/
adminmate.js
models/
your-model-1.js
your-model-2.js
...
controllers/
middlewares/

Note that we ignored some files present in the project to keep it lisible here.

In this documentation, we will focus in the following files:

  • database.js ⇒ This where we connect to your database
  • config/adminmate.js ⇒ This is the main configuration file
  • models/ ⇒ This is where your models schemas are stored