Code Monkey home page Code Monkey logo

url-monitor-react-springboot's Introduction

url-monitor-react-springboot

Alt text

Test URLs to see if they respond and if the response has the correct data. Built with Spring Boot and React in order to test the feasibility of that combo.

This is a hobby project that I created on my own. The basic idea is to ping a URL and see if it

  • responds with a 200
  • if that response contains the text that you're expecting.

You're able to add single URLs and export/import them in bulk. The app also supports auto-refresh every minute.

Prerequisites

  • Java 7+ (to run)
  • Maven 3 (to build and/or run)

Usage

Download a release from the releases page.

Run from the command line: java -jar url-monitor-VERSION.jar

This will start an embedded Tomcat server inside the war file. Then navigate to the local server http://localhost:8080 or the remote server where you started the app http://your_server_here:8080

Possible Next Steps

  • remove node/ and node_modules/ from the final jar (The final jar is too big, 100+ MB. That could easily come down by removing those directories.)
  • add Java tests (This was a non-prod, hobby project so I cut some corners... my bad.)

Help and More Info

You can find more info on the GitHub repo or by emailing derrek @ derrek.young.com

https://github.com/derrekyoung/url-monitor-react-springboot/

Closing Thoughts

Actually though, my main motivation for this project was mostly wanted to experiment with merging React and Spring Boot into a self-contained, cross-platform application. This app uses Spring Boot, Webpack, Node, React, Bootstrap, and a few other modules.

The experiment was mostly a success but I think this combo is not the way to go for cross-platform apps. Server-side web apps, sure, ok, maybe. But the dev process here kind of sucks. Merging webpack with Spring Boot introduced too much latency in the test cycle compared to a straight Node.js cycle. This combo takes all the good things of React/Node and ruins them. I think that my next cross-platform app/experiment will be pure Node.js and based on Electron or NW.js. We shall see.

url-monitor-react-springboot's People

Contributors

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