Dart Frog Auth는 Dart로 작성된 가볍고 고성능의 백엔드 프레임워크인 Dart Frog의 공식 인증 라이브러리입니다. 서버 사이드 애플리케이션을 위한 보안성과 쉽게 통합할 수 있는 인증 메커니즘을 제공합니다. 단순함과 속도를 중심으로 설계되어 로그인, 회원가입, 세션 관리와 같은 일반적인 인증 워크플로우를 지원합니다. Dart Frog 생태계 내에서 원활하게 작동하도록 설계되어 개발자들이 성능이나 개발자 경험을 희생하지 않고도 안전한 사용자 인증을 신속하게 구현할 수 있도록 합니다.
In order to use Dart Frog you must have the Dart SDK installed on your machine.
Installing 🧑💻
# 📦 Install the dart_frog cli from pub.dev
dart pub global activate dart_frog_cli
Creating a Project ✨
Use the dart_frog create command to create a new project.
# 🚀 Create a new project called "my_project"
dart_frog create my_project
Start the Dev Server 🏁
Next, open the newly created project and start the dev server via:
# 🏁 Start the dev server
dart_frog dev
💡 Tip: By default port 8080 is used. A custom port can be used via the --port option.
Create a Production Build 📦
Create a production build which includes a DockerFile so that you can deploy anywhere:
# 📦 Create a production build
dart_frog build
Create New Routes and Middleware 🛣️
To add new routes and middleware to your project, use the dart_frog new command.
# 🛣️ Create a new route "/hello/world"
dart_frog new route "/hello/world"# 🛣️ Create a new middleware for the route "/hello/world"
dart_frog new middleware "/hello/world"
The goal of Dart Frog is to help developers effectively build backends in Dart. Currently, Dart Frog is focused on optimizing the process of building backends which aggregate, compose, and normalize data from multiple sources.
Dart Frog provides a simple core with a small API surface area in order to reduce the learning curve and ramp-up time for developers. In addition, Dart Frog is intended to help Flutter/Dart developers maximize their productivity by having a unified tech stack that enables sharing tooling, models, and more!
Extensions 💻
VSCode: extends VSCode with support for Dart Frog and provides tools for effectively managing Dart Frog projects within VSCode.