Code Monkey home page Code Monkey logo

honeybadger-project's Introduction

Honeybadger Demo Project

This is a demo project created for applying for a Software Engineer position at Honeybadger

To run the tests: bundle exec rspec

To run the project you just have to start the server: rails s The you can make a post request with Postman or any similar tool with the following details:

  • url: localhost:3000/api/v1/notifications/check-spam
  • body with spam:
    {
        "notification": {
            "RecordType": "Bounce",
            "Type": "SpamNotification",
            "TypeCode": 512,
            "Name": "Spam notification",
            "Tag": "",
            "MessageStream": "outbound",
            "Description": "The message was delivered, but was either blocked by the user, or classified as spam, bulk mail, or had rejected content.",
            "Email": "[email protected]",
            "From": "[email protected]",
            "BouncedAt": "2023-02-27T21:41:30Z"
        }
    }
  • body without spam:
    {
        "notification": {
            "RecordType": "Bounce",
            "MessageStream": "outbound",
            "Type": "HardBounce",
            "TypeCode": 1,
            "Name": "Hard bounce",
            "Tag": "Test",
            "Description": "The server was unable to deliver your message (ex: unknown user, mailbox not found).",
            "Email": "[email protected]",
            "From": "[email protected]",
            "BouncedAt": "2019-11-05T16:33:54.9070259Z"
        }
    }

I also created a Slack workspace and channel for the purpose of this project. You can sign up for it here to see the actual spam Slack notifications: https://honeybadgertestgroup.slack.com/archives/C04SXV3GE56

honeybadger-project's People

Contributors

butiricristian avatar

Watchers

 avatar  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.