Giter VIP home page Giter VIP logo

content-indexer-registrations's Introduction

README

In this README you will find guidance to install and run the content-indexer-registrations backend application.

This application is in charge of providing authentication tokens to its content-indexer counter part.

Installation

You may wanna clone this repository by running git clone https://github.com/sebasjimenez10/content-indexer-registrations.git. After you've cloned the repository, proceed to install all the dependencies by running bundle install.

Setup

After installing all the required gems, you may wanna run the database creation commands, like so: rails db:create db:migrate. This application relies on PosgreSQL so you need to have a posgres server running locally.

Running

After having the database setup ready. We can now run the server by typing foreman start if you have the forman gem installed or simply execute rails server.

Tests

To run the specs execute bundle exec rspec. This will run all the specs and generate a coverage report for you. You can open this report by typing open coverage/index.html.

Security

There is a rake task to check multiple things. If you run rails check:all it will go ahead and run all the specs, then rubocop, then brakeman and finally bundler-audit. If any of these checks fail it will raise an exception specifiying which step failed.

Notes

There is a bundle configuration which installs all the gems in the vendor/bundle folder. The purpose behind this is to be able to easily find issue with external libraries, set breakpoint and even make changes to the code.

content-indexer-registrations's People

Contributors

sebasjimenez10 avatar

Watchers

 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.