#D17 Hack
On 3 July 2017, I took part in Dynamo North East’s first hackathon event, as part of their #D17 conference at Durham University.
“Dynamo is a volunteer led group set up with the core mission to ‘Grow the North East IT Economy’ through collaboration, innovation, skills. We are a voice for the sector regionally and nationally and we generate ‘noise’ to promote the region as a hotspot for IT/digital business.”
Before the event
Before the event, we were split in to four teams. Each team was mixed, and included people from local employers like Sage (where I work as a developer), DWP, HMRC, Capgemini and Accenture. I was part of the Blue Team (or Team 3).
Via Slack, we did some initial introductions and started discussing ideas for the event — we needed to keep in mind the very broad brief we had, and the fact we only had 8 hours to work on it!
One of the other participants summed it up well…
“Dynamo is all about trying to build a high profile around the tech industry in the North East as a way of attracting investment and encouraging people to choose tech careers. One of the challenges they have is that knowledge about the tech industry in the region is low so there are more jobs available that nobody applies for, people don’t choose the right things at school as they don’t see tech as interesting exciting opportunity. There is loads going on, lots of innovation, start up, awards, events etc…”
I’d like to say that our ideas started flowing right away, but the truth is, we struggled a little to get going... 😕
My first idea…
“I did have a thought about a chat bot, maybe aimed at school leavers or something — giving them details on careers, what subjects they need, etc.”
After thinking about it a little longer, and looking in to some APIs/frameworks/technologies that we might be able to use to produce an MVP, I expanded on my initial idea and suggested…
“I’ve been thinking about it some more, and I think I still quite like the idea of working on a Dynamo chat bot. I think this will definitely show more innovation as opposed to just mobile/web app that just shows information. I noticed that Dynamo use Eventbrite for the events, so we could maybe hook in to their API (https://www.eventbrite.com/developer/v3/) and allow people to book on to the events, or even push notifications to them if there are new events. As well as static information in there about key NE tech employers, and tech roles, we could expand on that and give info about how to get in to those roles (possibly aimed at school leavers for example). The jobs stuff could also probably be expanded on by hooking in to and API of a careers search website. There’s probably no worth in creating new APIs that do this, when there’s out there… Let’s just use what’s there. I’m sure we could expend on it more…”
This idea seemed to get the thumbs up 👍 from the rest of the team, and formed the bases of our “starting point” on the day.
OK, so we now had a pretty good idea of what we were going to work on, but how did we plan to build this? Via Slack, I tied to get a better understanding of everyone’s skills. It seemed that most of the team had at least some experience of JavaScript so it made sense to go in that direction.
Tech stack 🤖
We decided to go with NodeJS and the Microsoft Bot Framework for our bot. We deployed our bot to Heroku, and made it available via Facebook Messenger (although the framework allows us to code once, and deploy to multiple channels). We used the Eventbrite API as planned, the Google Maps API to add some additional info to our events (such as directions), and we used the Reed API for some job/careers searches. We had to strip back the original idea, either because of constraints with the APIs we were using, or just the fact we wouldn’t have time.
Get Che Armstrong’s stories in your inbox
Join Medium for free to get updates from this writer.
Anyway, here’s a some more detail about the bot, with a couple of short videos showing parts of the bot in action (using MS Bot Framework emulator).
Home
We added an initial/home dialogue. This is essentially a menu using hero cards to give the user the option of Events, Members and Career.
Events
When this section is selected, we hit the Eventbrite API for then next Dynamo events. Again, using hero cards, we display each event and also give an option to view all.
- Register: Takes the user to the Eventbrite page to register for the event.
- Map: We use the Google Maps API to generate the map with a marker of the location, and give an option for directions. We also use the Google Maps API to create the map image for the card.
- Calendar: We use a nifty NPM module to generate a .ics file, so users can easily add to their calendar.
Members
This section is really straight forward. We scraped the Dynamo members from the website and split them in to membership level. Users can click in to each level, then click to go to that members website.
We used hero cards to show the members logo, with a button for the website link.
Careers
When this section is selected, the user gets two options — with the Job Search, the user can enter some text and use that to search jobs on Reed via their API. We narrow the search to the North East.
The Job Types section is a little different — we want this section to be quite conversational so created some data for different job roles. The user can choose to view some details on that job role, and if they want to, search for that job type on Reed (again using the API).
It would have been good if we had time on the day to improve the conversation flows, and make the whole thing a little more polished. However, I’m really pleased what we managed to do in the 8 hours.
If you’re interested, the code is available on Github.
How the day went
I wasn’t quite sure what to expect on the day. Working with a new team, varying skills and knowledge on the team, only having a rough idea, the fact we only had 8 hours — despite these challenges, I think the day went really well.
We could have done with some more time (as always), but our team came together, everyone was able to contribute and there was a lot of knowledge sharing going on. In fact, I didn’t feel like I wrote much code on the day — most of my day seemed to be spent helping others get up-and-running, helping them with JavaScript or MS Bot Framework, etc. However, I quite enjoyed this — there was a lot of this happening on our team. 🙏 In fact, I think it was part of the reason we were able to work well together and produce what we did.
I have to say, I really enjoyed the day — I really like hackathon events anyway and I’ve done a few here at Sage, but this was my first Dynamo event. I’ll definitely be looking to attend more of their events in the future. It was really nice to meet some new people and it was also good to get a better idea of what’s going on in the North East (a lot of stuff! 👊).
So, how did we get on…
We won 🏆
It was nice to end the day with a win for the Blue Team — after seeing the presentations from the other teams, I really wasn’t sure if we’d done enough to bag 1st prize. All teams did really well, especially with the time constraints and not working together before hand. We might have been 1st on the day, but there were no losers — Sage kindly gave all participants a nice shiny new Amazon Echo.







