Meerkit
Meerkit
HomeDocsComponentsAPI
GitHub

Getting Started

5
IntroductionInstallationProject StructureThemingDeployment

CLI

6
CLI Overviewinit & setupstart, stop & openstatus, check, env & logsdbadd, test & update

Core Concepts

5
AuthenticationRoles & PermissionsData ModelLogin LockoutSecurity

Guides

3
Protect a pageAdd a roleCall your own API

Components

24

사용자 화면12

Login FormSignup FormEmail VerificationTerms AgreementGoogle LoginPassword ResetProfile & PasswordNicknameAuth DialogProfile ImageUser AvatarUser Menu

관리자 화면6

Member TableMember DirectoryMember AI UsageMember AI Usage HistoryRole ManagerRole Select

공통5

Address FieldFile DropzoneLoadingDateRoute Guards

AI Components

4
AI Prompt InputThinking IndicatorAPI Key InputVoice

API

6
OverviewHealthAuthUsers · 내 정보Users · 관리자LLM

Reference

2
Hooks & StateFAQ

start, stop & open

서버를 켜고 끄고 브라우저로 여는 명령입니다.

start

세팅이 끝난 프로젝트의 서버만 켭니다. DB 확인, 백엔드, 프론트엔드 순서로 켜며 설치와 마이그레이션은 하지 않습니다. Ctrl+C로 끄면 자식 프로세스까지 정리합니다.

bash
npx @snackcup/meerkit start
npx @snackcup/meerkit start --port 3100 --api-port 8100
옵션설명
--port <번호>프론트엔드 포트 (기본 3000)
--api-port <번호>백엔드 포트 (기본 8000)
--no-dbDB 컨테이너는 건드리지 않습니다
--dir <폴더>다른 폴더의 프로젝트를 대상으로 합니다

주소는 프론트엔드 http://localhost:3000, API 문서(Swagger) http://localhost:8000/docs입니다. 포트를 바꿨다면 그 번호를 씁니다.

stop

이 프로젝트의 서버를 끕니다. 다른 프로그램이 쓰는 포트는 건드리지 않고 알려 줍니다. macOS와 Linux에서 동작합니다.

bash
npx @snackcup/meerkit stop
npx @snackcup/meerkit stop --db   # DB 컨테이너도 멈춤 (데이터는 유지)
옵션설명
--dbDB 컨테이너도 멈춥니다 (데이터는 유지)
--dir <폴더>다른 폴더의 프로젝트를 대상으로 합니다
start나 setup에서 --port를 바꿔 켠 서버도 stop이 기록된 포트를 보고 끕니다.

open

브라우저로 화면이나 API 문서를 엽니다. 주소만 열어 주므로 서버는 먼저 켜 두어야 합니다. start로 포트를 바꿔 켠 서버가 있으면 그 포트를 엽니다.

bash
npx @snackcup/meerkit open        # 프론트엔드
npx @snackcup/meerkit open api    # Swagger API 문서
대상열리는 주소
web프론트엔드 (기본값)
api백엔드 API 문서 (/docs)
init & setupstatus, check, env & logs
© Meerkit. All rights reserved.GitHub