Skip to content

feed-the-hungry/backend

Repository files navigation

Feed The Hungry Backend

Build Status codecov Maintainability

This project aims to serve an GraphQL API about a RSS feed, which through will be added feed, kinds, categories and fetch entries!

Setup

Technologies

This project uses Ruby 3.1, Hanami and PostgreSQL.

Docker

I've created a Dockerfile and docker-compose.yml to be better to maintain all the dependencies.

So, to build the image, you need to run the following command:

$ docker-compose build app

Development

How to run tests:

% docker-compose run --rm runner bundle exec rake

How to run the development console:

% docker-compose run --rm runner bundle exec hanami console

How to run the development server:

% docker-compose up web

How to prepare (create and migrate) DB for development and test environments:

% docker-compose run --rm runner bundle exec hanami db prepare

% docker-compose -e HANAMI_ENV=test run --rm runner bundle exec hanami db prepare

About

Feed The Hungry backend built with ruby and hanami

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published