https://github.com/codekeyz/fullstack-quiz-app
Source code for Fullstack Quiz App on YouTube
https://github.com/codekeyz/fullstack-quiz-app
Last synced: 5 months ago
JSON representation
Source code for Fullstack Quiz App on YouTube
- Host: GitHub
- URL: https://github.com/codekeyz/fullstack-quiz-app
- Owner: codekeyz
- Created: 2024-05-11T18:49:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-03T21:06:23.000Z (about 1 year ago)
- Last Synced: 2025-04-12T19:14:34.274Z (10 months ago)
- Language: Dart
- Size: 32.2 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fullstack Quiz App in Dart
## Getting Started
### Generate code
> `dart run build_runner build --delete-conflicting-outputs`
### Migrations
Execute migrations using this command
```
$ dart run yaroorm migrate
```
> Run `dart run yaroorm` in your terminal to see all available commands
### Start Server
Run this command to start your Dart server.
```
$ dart run bin/server.dart
Server listening on port 8080
```
### Backend Routes
- `POST: /register`
Register a user. Requires `email`, `username` and `password`
- `POST: /login`
Login a user. Requires `email` and `password`.
### How To Use
When you add a new Entity Model eg: `Post`, generate a migration using `dart run yaroorm create create_posts_table`.