My submission to Mongodb Atlas Hackathon - Jan 2022
Running Instance - railpathfinder.herokuapp.com
Date | Summary | Improvement | Link |
---|---|---|---|
Jan 2022 | Initial Release | normal DFS | Old Repo |
July 2022 | Second Version | major (shortest path algo upgrade) | Old Repo |
Oct 2022 | Current Version | major (ReactJs, ES6, refactor) | This Repo |
node_modules
for both react and express are included in the code itself due to dependency issues from npm version when executing npm install.
package.json
scripts have been modified to spin both backend and frontend with on command. If want to change port number, do it both in app.js
and React_js/package.json
proxy.
- Clone the repo
- Make sure that port 5300 is free
- Do
npm start
only in the root directory
- Selecting stations that don't have a junction in between will give double route
MongoDb, ExpressJs, ReactJs, NodeJs (basically mern in the current release)