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
- Host: GitHub
- URL: https://github.com/codekeyz/yaroo-jwt-starter
- Owner: codekeyz
- Created: 2024-01-27T20:43:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-27T21:13:29.000Z (almost 2 years ago)
- Last Synced: 2024-12-28T16:35:16.694Z (about 1 year ago)
- Language: Dart
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yaroo JWT Starter 
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
```