Getting Started With Archery

Creating Your First Full-Stack Dart Project With Archery


Learn how to create your first Archery project in less than 5 minutes, with 3 simple steps
Getting Started With Archery

My Stack:

  • MacOS Tahoe on Mac Mini
  • WebStorm IDE
  • Chrome

Archery is designed to be a fully featured framework for artisans, it therefore aligns with our goals to get you running as fast as possible with no configurations wherever possible.

You can be up and running in less than 5 minutes, in three steps.

Step 1: Clone the repo

https://github.com/webarchery/archery

Grab a copy of Archery, and open the new project in you editor.

 

Step 2: dart run bin/server.dart

Run this terminal command from your project root or use the debug tool in your IDE to run bin/server.dart

This is your new project

  • lib/archery contains the framework
  • lib/src will contain your code
  • bin/server.dart, runs the server

This is the server

Terminal: dart run bin/server.dart

IDE Debugger:

 

Step 3: open browser localhost:5501

This beautifully crafted landing page is home to your your new Archery application.

 

Next Steps:

  • Defining routes
  • Implementing route handlers and controllers
  • HTML views