DEV Community

fvgm-spec
fvgm-spec

Posted on

Building a basic path finder app with help of AI in a few minutes

This is a submission for the GitHub Copilot Challenge : Fresh Starts

What I Built

If you are concerned about saving our natural environment, it would be useful for you to have an application always available where you can find the closer paths to recycling containers. I live in a little country in Latin America between Brazil and Argentina, you my guess which one it is, here the programs to protect our natural environment by recycling paper, glass, plastic and other renewable trash, it not exactly as developed like in countries such as Germany or any other in the north of Europe.

People who really cares about this issue, at least here in my country, try to do as many as little things to avoid environmental climate change, just storing the recycling trash in the places where it has to be done. Having an efficient way to do that would be beneficial for every body, so this is the idea that I had: asking AI to help me to build an app to achieve that efficiently.

Demo

Image description

Repo

To review what I did link to this repo

Copilot Experience

The first challenge that I faced was starting to use GitHub Copilot in VSCode, is just as easy as creating a directory where you are going to build your code + ctrl + I, and there you go...

Image description

Once I received the first answer from my AI prompt, I knew that I was going in the right "path", I wanted to ask for help and build a path-finder App that would help me to get the more efficient routes near to my house to take my recycling trash.

As I wanted to build an ASAP (as simple as possible) app in Python I just asked so to Copilot:

Image description

Once I got the suggestions from the AI I started to apply them in my code:

Image description

The result of my prompt was clear, a path-finder app, just as simple that I could start working on improving it using AI models provided by Github Copilot.

Image description

GitHub Models

I used the Claude 3.5 Sonnet model from Anthropic, as I have previously used this model with other AI editors, such as claude.ai. It is reliable for helping with code and also provides very complete code suggestions.

Conclusion

This demo test using GitHub Copilot Clearly shows how a simple project can be started from scratch, just by having a simple idea in mind. Then it can be improved using creativity and GitHub Copilot features.

Build gen AI apps that run anywhere with MongoDB Atlas

Build gen AI apps that run anywhere with MongoDB Atlas

MongoDB Atlas bundles vector search and a flexible document model so developers can build, scale, and run gen AI apps without juggling multiple databases. From LLM to semantic search, Atlas streamlines AI architecture. Start free today.

Start Free

Top comments (0)

Feature flag article image

Create a feature flag in your IDE in 5 minutes with LaunchDarkly’s MCP server ⏰

How to create, evaluate, and modify flags from within your IDE or AI client using natural language with LaunchDarkly's new MCP server. Follow along with this tutorial for step by step instructions.

Read full post

👋 Kindness is contagious

Explore this insightful write-up, celebrated by our thriving DEV Community. Developers everywhere are invited to contribute and elevate our shared expertise.

A simple "thank you" can brighten someone’s day—leave your appreciation in the comments!

On DEV, knowledge-sharing fuels our progress and strengthens our community ties. Found this useful? A quick thank you to the author makes all the difference.

Okay