Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blrB/hanami-realworld-example-app
Real world application built with hanami 🌸
https://github.com/blrB/hanami-realworld-example-app
api hanami hanami-api hanami-application json-api jwt jwt-authentication realworld ruby
Last synced: 25 days ago
JSON representation
Real world application built with hanami 🌸
- Host: GitHub
- URL: https://github.com/blrB/hanami-realworld-example-app
- Owner: blrB
- Created: 2020-10-16T20:41:46.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-19T20:48:40.000Z (almost 2 years ago)
- Last Synced: 2024-08-03T18:13:20.754Z (4 months ago)
- Topics: api, hanami, hanami-api, hanami-application, json-api, jwt, jwt-authentication, realworld, ruby
- Language: Ruby
- Homepage: https://realworld.io/
- Size: 104 KB
- Stars: 16
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hanami - hanami-realworld-example-app - Hanami codebase containing real world examples (CRUD, auth, tests etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld) spec and API. (Hanami Project List / Play/Pet projects)
README
# ![RealWorld Example App](logo.png)
> ### Hanami codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld) spec and API.
This codebase was created to demonstrate a fully fledged fullstack application built with **Hanami** 🌸 including CRUD operations, authentication, routing, pagination, and more.
For more information on how to this works with other frontends/backends, head over to the [RealWorld](https://github.com/gothinkster/realworld) repo.
# Getting started
How to run tests:
```
% bundle exec rake
```How to run the development console:
```
% bundle exec hanami console
```How to run the development server:
```
% bundle exec hanami server
```How to prepare (create and migrate) DB for `development` and `test` environments:
```
% bundle exec hanami db prepare% HANAMI_ENV=test bundle exec hanami db prepare
```