What is Flatlogic? What can I do with the Flatlogic Platform?
Flatlogic is a web development platform that helps to quick-start web application development by providing templates, code generation, etc. Flatlogic Platform is the easy and fast way to start and host web applications on different stacks – React, Vue, Angular, Node.js, PostgreSQL and others.
Flatlogic gives developers freedom from the repetitive and time-consuming tasks while starting and developing an application – hosting, code generation, GitHub version control, no need to support and update libraries, learn to code. So developers can focus on building business logic.
Can I preview the created code?
Yes, you can. you should select a project on the project list page and select the Code Preview tab. The basic project structure consists of the:
- Backend folder;
- Frontend folder;
- Docker file;
- Readme file;
What if I need to change the DB schema?
You should select a project on the project list page and select the Schema tab, where you can change the project, add and remove entities, and rebuild the project.
How can I deploy the Flatlogic project?
Regardless of the subscription, you can Deploy your project and see a live application. In order you should select a project on the project list page and click the 'Deploy' button, your live URL will be available in 5-7 minutes.
What is an entity?
An entity is any object in the system that we want to model and store information about. Entities are usually recognizable concepts, either concrete or abstract, such as a person, places, things, or events which usually maps to a table when you are implementing the database.
Does the platform perform CRUD functions?
Yes, Flatlogic Platform helps you to create, host and develop a fully workable CRUD web application with front-end, back-end, and database. The generated application is a great foundation for further development with user authentication, data management, and a ready-made basic structure.
How can tables relate to each other?
Tables can relate to each other by columns with types: Relation (one) and Relation(many).
Relation to one column – to make a relation to one column you have to select it in the list of columns in the table, go to the ‘Type’ property and choose the ‘Relation (one)’ option. After that, you will have a new property Entity - the link to the table this column will be connected to.
Relation to multiple columns – to make a relation to many columns you have to select it in the list of columns in the table, go to the ‘Type’ property and choose ‘Relation (many)’ options. After that, you will have a new property Ref - the link to the table this column will be connected to.
Does the platform generate API?
Flatlogic platform generates a Rest API according to the created database schema. Using API you can manage apps with CRUD operations. As long as it speaks HTTP you can connect your services, frontend, apps, scripts.
Can I host the created app?
Yes, you can host the app instantly with Flatlogic Platform with configured CI/CD, logs and deployment history. Moreover, Flatlogic provides you with version control Git integration.
Can I integrate the created app with Github?
Yes, you can connect the GitHub repository to your app and push all generated code there. Thus you will be able to work directly in the Github repository with the code and make changes there.
In case you modify the schema (add entities, modify them) Flatlogic platform is going to initiate a push to the connected repository.
How can I connect my existing database to the app created by Flatlogic Platform?
You can connect your existing database to the app by dropping us a line on [email protected].
Can I deploy custom changes in the created app?
Yes, you can deploy your custom changes depending on where you added them at the Flatlogic platform or on GitHub.
To open your application with the changes you made on GitHub, you should go to your Project Settings on flatlogic.com and click on ‘Deploy from Git’ and your application will be rebuilt.
If you made your custom changes at the platform you should select a project on the project list page and click the 'Deploy' button again to redeploy your project.
How to receive support?
To receive support please use our forum (it is the fastest way to receive help), or drop us a line on [email protected].
When you request help please be sure that you have described all the steps to reproduce the issues and your development environment.
What is included in support?
We provide support for the following questions:
- Answering questions about how to use the item;
- Answering technical questions about the item;
- Item updates;
- License questions;
- License updates requests;
- Help with product issues.
Most common errors:
There could be many reasons, but the most common are:
The port is not open on the destination machine.
The port is open on the destination machine, but its backlog of pending connections is full.
A firewall between the client and server is blocking access (also check local firewalls).
After checking for firewalls and that the port is open, use telnet to connect to the IP/port to test connectivity. This removes any potential issues from your application.
If you suspect that your SSH service might be down, you can run this command to find out:
sudo service ssh status
If the command line returns a status of down, then you’ve likely found the reason behind your connectivity error.
Sometimes a connection refused error can also indicate that there is an IP address conflict on your network. You can search for possible IP conflicts by running:
arp-scan -I eth0 -l | grep <ipaddress>
arp-scan -I eth0 -l | grep <ipaddress>
yarn db:create creates the database with the assembled tables (on macOS with Postgres database)
The workaround - put the next commands to your Postgres database terminal:
DROP SCHEMA public CASCADE;
CREATE SCHEMA public;
GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO public;
Afterwards, continue to start your project in the backend directory by running: