Coder Social home page Coder Social logo

patevs / dart_frog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from verygoodopensource/dart_frog

0.0 1.0 0.0 6.73 MB

A fast, minimalistic backend framework for Dart ๐ŸŽฏ

Home Page: https://verygoodopensource.github.io/dart_frog

License: MIT License

Shell 0.39% Dart 64.68% TypeScript 34.92%

dart_frog's Introduction

Dart Frog Logo Dart Frog Logo

ci coverage style: very good analysis License: MIT Powered by Mason

A fast, minimalistic backend framework for Dart ๐ŸŽฏ

Developed with ๐Ÿ’™ by Very Good Ventures ๐Ÿฆ„

Documentation ๐Ÿ“

For official documentation, please visit https://dartfrog.vgv.dev.

Packages ๐Ÿ“ฆ

Package Pub
dart_frog pub package
dart_frog_gen pub package
dart_frog_cli pub package
dart_frog_web_socket pub package
dart_frog_auth pub package

Quick Start ๐Ÿš€

Prerequisites ๐Ÿ“

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"

Goals ๐ŸŽฏ

Dart Frog is built on top of shelf and mason and is inspired by many tools including remix.run, next.js, and express.js.

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 ๐Ÿ’ป

  • VS Code: extends VS Code with support for Dart Frog and provides tools for effectively managing Dart Frog projects within VS Code.

dart_frog's People

Contributors

alestiago avatar dependabot[bot] avatar developerjamiu avatar diruffy avatar easazade avatar erickzanardo avatar feduke-nukem avatar felangel avatar femalemonkeyman avatar frezyx avatar gabrielrozendo avatar github-actions[bot] avatar jamesblasco avatar jneschisi avatar jsgalarraga avatar jxstxn1 avatar kylefin avatar luiscib3r avatar mtwichel avatar piotrfleury avatar quentin7b avatar renancaraujo avatar ryanramchandar avatar ryzizub avatar scarletteliza avatar sinakhe avatar ska2519 avatar thecodexhub avatar tomarra avatar wolfenrain avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.