GithubHelp home page GithubHelp logo

nomad-meteor's Introduction

nomad-meteor

This is a fun project I've made to start and purge nomad jobs based on the meteors that spawn and explode in meteors. The game itself is an output of theexcellent tutorial of Miłosz Smółka.

Excuses:

  • Why do you have a monolythic main.go? It looks awful!

The main.go is the output of the tutorial. You write it as you go and end up with something like this at the end. If you want to see the properly structured one, see the github repo of Miłosz which contains the nicely structured solution.

  • Why are the nomad calls using web requests instead of the SDK?

The nomad calls should indeed use the SDK, but since the main reason for making this was learning and having fun, I have decided to use the HTTP endpoint with requests. I might actually change this at some point

  • Where is the error handling? Ermmm... yeah ... This is by no means a bulletproof app, it was just made to poke a bit of fun and help me learn. Crashes are 100% possible. If it happens make sure to clean up your meteor* containers in Docker manually

Starting up

You need to install and start a nomad agent in dev mode before starting the application with the standard go run main.go

nomad-meteor's People

Contributors

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