An open API service indexing awesome lists of open source software.

https://github.com/codekeyz/yaroo-jwt-starter

Minimal Dart Backend example with JWT Authentication & SQLite Database for persistence
https://github.com/codekeyz/yaroo-jwt-starter

Last synced: 2 months ago
JSON representation

Minimal Dart Backend example with JWT Authentication & SQLite Database for persistence

Awesome Lists containing this project

README

          

# Yaroo JWT Starter ![dart](https://github.com/codekeyz/yaroo-jwt-starter/actions/workflows/test.yml/badge.svg)

Minimal Dart Backend example with JWT Authentication & SQLite Database for persistence

### Setup

```shell
$ dart pub get && dart run build_runner build --delete-conflicting-outputs
```

### Migrate Database

```shell
$ dart run bin/tools/migrator.dart migrate
```

### Start Server

```shell
$ dart run
```

### Tests

```shell
$ dart test
```

### Workflow

Things like adding a new `Entity`, `Middleware`, `Controller` or `Controller Method` require you to re-run the command below.

```shell
$ dart pub run build_runner build --delete-conflicting-outputs
```