Project Structure

The Flatlogic Platform ensures robust authentication, a process that verifies the user’s identity. Authentication is performed by comparing the username and password provided by the user with the credentials stored in the application’s database. When you create and run an application for the first time, a Users table is automatically created in the database.

Full-Stack Application Project Structure

A full-stack application on the Flatlogic Platform includes the following key components:

  1. Backend

    • The src folder contains all working files, which will later be used to create the build.
  2. Frontend

    • The src folder includes your working files for the frontend build.
    • The public folder serves as the web-accessible root of the site. Any files in this folder can be accessed via the browser's address bar, while files outside the public folder remain inaccessible to users.

Inside the src folder, you will find the following subfolders:
- actions - components - context - images
- pages - reducer - themes

  1. Docker

    • Contains essential Docker files for deploying the application.
  2. README.md

    • A comprehensive guide for running your application locally.
  3. Package.json

    • Includes metadata about your application, such as its name, version, dependencies, and other essential details.

No-Backend Application Project Structure

A no-backend application includes the following components:

  1. Frontend
    • The src folder contains the working files for the frontend build.
    • The public folder serves as the web-accessible root, allowing browser access to any files inside it.

Inside the src folder, you will find subfolders similar to the full-stack structure:
- actions
- components
- context
- images
- pages
- reducer
- themes

  1. Docker

    • Contains the primary Docker files needed for deployment.
  2. README.md

    • Provides instructions for running the application locally.
  3. Package.json

    • Lists the application's details, including its name, version, dependencies, and more.

To prevent breaking your application:
- Do not edit any files in the Docker folder or the Dockerfile.

Please make modifications to your project carefully to ensure stability and functionality.