0fatal 6a0291043f
feat(web): support dedicated database (#1730)
* feat(web): support dedicated database

* fix(web): add key for map loop

* chore(web): diabled change database type

* fix(web): fix api type

* chore(web): change spec i18n

* feat(web): add dedicated db billing

* feat(web): add database monitor

* fix scrollbar bounce

* refactor ddb fields

* disabled reduce ddb capacity

---------

Co-authored-by: HUAHUAI23 <huahua1319873800@outlook.com>
2024-01-03 14:33:38 +08:00
..
2023-03-21 10:28:03 +08:00
2023-05-28 20:59:21 +08:00

Project Introduction

laf-cli is a command-line tool designed to help developers quickly create, deploy, and manage applications on laf.

Quick Start

To install laf-cli, use npm:

npm install -g laf-cli

Once installation is complete, verify the installation using:

laf -v

To log in, use the login command with your personal access token (PAT), which can be obtained from User Settings -> Personal Access Tokens:

laf login <pat>

View the list of applications and initialize an application:

laf app list
laf app init <appId>

For more commands and usage:

laf -h

Development

To begin development, follow the steps below:

  1. Navigate to the cli directory in the terminal:
cd cli
  1. Install the required dependencies:
npm install
  1. Run the watch command:
npm run watch
  1. Open a new terminal and run link command:
npm link
  1. Finally, verify that everything is working as expected:
laf -v

File Tree

├── src
|  ├── action
|  |  ├── application
|  |  ├── auth
|  |  ├── dependency
|  |  ├── function
|  |  ├── policy
|  |  ├── storage
|  |  └── website
|  ├── api
|  |  └── v1
|  ├── command
|  |  ├── application
|  |  ├── auth
|  |  ├── dependency
|  |  ├── function
|  |  ├── policy
|  |  ├── storage
|  |  └── website
|  ├── common
|  ├── config
|  └── util
└── template