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:
Backend
- The
src
folder contains all working files, which will later be used to create the build.
- The
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 thepublic
folder remain inaccessible to users.
- The
Inside the src
folder, you will find the following subfolders:
- actions
- components
- context
- images
- pages
- reducer
- themes
Docker
- Contains essential Docker files for deploying the application.
- Contains essential Docker files for deploying the application.
README.md
- A comprehensive guide for running your application locally.
- A comprehensive guide for running your application locally.
Package.json
- Includes metadata about your application, such as its name, version, dependencies, and other essential details.
- 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:
- 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.
- The
Inside the src
folder, you will find subfolders similar to the full-stack structure:
- actions
- components
- context
- images
- pages
- reducer
- themes
Docker
- Contains the primary Docker files needed for deployment.
- Contains the primary Docker files needed for deployment.
README.md
- Provides instructions for running the application locally.
- Provides instructions for running the application locally.
Package.json
- Lists the application's details, including its name, version, dependencies, and more.
- 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.