Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

Real world application built with hanami 🌸

Awesome Lists containing this project

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
```