DEV Community

Abdul Samad
Abdul Samad Subscriber

Posted on

5 3 1 1 1

Metro Rail Path Finder

Overview of My Submission

I made an Express application which basically calculates the path from one station to another in a particular city's Metro rail map.

It connects to the database on Mongodb Atlas. My database has collections based on maps of different cities.
The express app passes the User-preferences over to functions that query the database to find the route.

The app is very easily scalable, as to add a map, one only has to add a new collection in the database (containing Station names etc) and one option in the "Map Select" drop-down.
Everything else, including the functions and the drop-downs are designed to get updates from the database itself.

Here is the link to my Github repository.

Submission Category:

Choose Your Own Adventure

Link to Code

GitHub logo mr-loop-1 / metro-path-mongodb

My Mongodb Atlas Project for Devto+Mongodb Hackathon

metro-path-mongodb

Note: The Mongodb database may refuse to connect sometimes. I am finding a fix for that

This is a Metro Rail Path Finder app I made for Dev.to + MongoDb Atlas Hackathon. It sources its data from Mongodb Atlas Database.

Technology Used: Expressjs, MongoDb Atlas

To run the app

Just make sure that node and npm are installed and

npm start

And it will be deployed on http://localhost:3000/users/details

The calculation may get slow for longer paths.




Screenshots

mm

ss

Additional Resources / Info

Technology Used: Express, Mongodb, Atlas
Contact: iabdulsamad1412@gmail.com

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (2)

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
iabdsam profile image
Abdul Samad

trs

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay