Inspiration
Inspiration to this idea was to help our city Košice by creating app for users for which they can see what all other activities are available within 15-minute walking distance and municipality to grow some new ideas, extend them to the competent people of the city.
What it does
Our application currently does 2 main things, which can be easily extended in the future. First thing is a 15-minute walking distance map, which can show users in which point they choose the amenities that are available to them closely. Then can choose different options to see amount of amenities within walking distance. Second thing is about community and municipality, a community network where people can share ideas that can be pitched and sent to municipality if they seem good to promote them to the competent people of town and bring the community better life near place they live, work or where they spend free time.
How we built it
We have used a concept of microservices which were build on a different platforms connected by REST-ful API. The main page is built on top of NextJS framework, which communicates and gets data from 2 more microservices, which where built on Java and PHP. PHP server was our communication service with MySQL database and our Spring Java server was running a scrapper for map data that we have used in a 15-minute city and community. All those of services were deployed on our linux virtual machine and they are hosted and connected through our proxy server which is our 3rd microservice. Its available by clicking here
Challenges we ran into
We have ran into many challenges. Firstly our PHP server was not working as expected and we have successfully ran it around 12 hours till end of hacking. Second was getting a map and showing it to user, because of different approach of Server-Side NextJS rendering components compared to the SPA.
Accomplishments that we're proud of
We are proud of finalising this challenged as we have imagined it to be. We had a long brainstorming about the idea and we are proud that with different technologies that all of use used we have accomplished this and connected everything together.
What we learned
We have learned many things from thing projects and key to all of that was communication. We have communicated a lot trough out the hacking and we have helped each other and learning from other approaches that all of us use.
What's next for Townsy
Next can be anything you can imagine in a city that you live. We imagine to build to help you find good restaurants, bars, cafés and more. We would like to provide more capabilities to users to be more connected with a municipality and their community.
Built With
- docker
- express.js
- java
- mysql
- nextjs
- php
- rest
- typescript

Log in or sign up for Devpost to join the conversation.