GithubHelp home page GithubHelp logo

rss-rails's Introduction

Ruby on Rails RSS Feed project talking to RSS Service written in Go

The goal of the project is to fetch RSS feed from the GO service and display it in the browser

Things you may want to cover:

  • Ruby version ruby 3.2.0

  • System dependencies

Rails 7.0.4 Node v19.3.0 Yarn 1.22.19

  • Configuration
bundle install
bin/rails javascript:install:esbuild
bin/rails css:install:tailwind
  • How to run the test suite Currently only one test is written for checking if data is fetched on the root page Run with
rspec spec/articles_spec.rb

It runs a selenium test using Capybara and Rspec

  • Deployment instructions

Currently the project is suitable only for development. It is not production ready. Development can be started with

bin/dev

Docker file is also created. There is a problem with the service running in Docker. The URL of the Golang RSS Service should be ENV var so when running the service in Docker it can be set to docker.for.mac.host.internal so it can resolve localhost properly.

Build the service with docker:

docker build -t rss-rails .
docker run -d -p 3000:3000 -t rss-rails

rss-rails's People

Watchers

James Cloos avatar Alexander Yordanov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.