/twitts_fetch_backend

Fetch data from twitter every minute and create a public api to serve them

Primary LanguageRuby

Twitter fetch backend

Prerequisites

You need this software to install the project

  1. Ruby 2.5
  2. Rails 5.1.5
  3. PostgreSQL + Devtools
  4. NodeJs
  5. Redis
  6. Foreman

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installing

A step by step series of examples that tell you have to get a development env running

  1. Clone the repo at https://github.com/edugonch/twitts_fetch_backend
  2. Run bundle install
bundle install
  1. Create the database
rake db:create
  1. Migrate the database
rake db:migrate
  1. Run the seeds to create the test user
rake db:seed
  1. Run the application with the workers
foreman start -f Procfile.dev

Running the tests

I'm using minitest to make the tests.

You can run the test with

rails test

Built With

Authors

  • Eduardo González - Initial work - edugonch

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

You can see it live running at: