{"id":19872405,"url":"https://github.com/codecraft26/bus_booking-_app","last_synced_at":"2025-09-01T03:34:29.294Z","repository":{"id":128553339,"uuid":"409179750","full_name":"codecraft26/BUS_BOOKING-_APP","owner":"codecraft26","description":"BUS BOOKING APP","archived":false,"fork":false,"pushed_at":"2021-11-23T17:01:22.000Z","size":8702,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T00:58:38.280Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecraft26.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-22T11:37:52.000Z","updated_at":"2023-09-10T18:47:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"711ec0fc-654f-4fc2-a583-f3102265ae31","html_url":"https://github.com/codecraft26/BUS_BOOKING-_APP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codecraft26/BUS_BOOKING-_APP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecraft26%2FBUS_BOOKING-_APP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecraft26%2FBUS_BOOKING-_APP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecraft26%2FBUS_BOOKING-_APP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecraft26%2FBUS_BOOKING-_APP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecraft26","download_url":"https://codeload.github.com/codecraft26/BUS_BOOKING-_APP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecraft26%2FBUS_BOOKING-_APP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273069722,"owners_count":25040104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T16:15:30.525Z","updated_at":"2025-09-01T03:34:29.270Z","avatar_url":"https://github.com/codecraft26.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN-BUS-APP\n## (My First Real Project) \n\nA Bus ticket booking application made using MERN Stack (MongoDB, Express js, React js, Node js)\n\nThe Bus ticket application is composed of the following Features:\n\n### Front-End\n\n* Sign-In \u0026 Sign-Up Pages.\n\n* Uses Token based system, so only registered users can access the website  passport js.\n\n* Password hashing using passport js.\n\n* Has a profile page, which will display all information about the signed in user.\n\n* List of cities for users to choose from (starting city \u0026 destination city). \n\n* Getting list of bus's of different companies with various details.\n\n* Seat selection page has a very user friendly environment, which also generates dynamic forms for storing data's of passengers.\n\n* Has a Confirmation page, which gets a debit card data using react-credit-cards. This version of the application does not include handling the payment process. \n\n* Final page has a ticket displaying component, it displays all passenger data and also generates a random number as a transaction ID.\n\n### Back-End\n\n* Uses Express js based application for the backend process.\n\n* Uses MongoDB atlas for storing the collections.\n\n* Uses passport js for authenticating user and token based system.\n\n* Uses passport js for hashing the password before sending the data to the cloud.\n\n* This version does not support dynamic seat data being stored from cloud.\n\n\nThis project also demonstrates:\n\n* a typcial React project layout structure\n\n**Screenshots:**\nLanding Page:\n\n![](documentationResources/bus.gif)\n\nSigning In Page:\n\n![](documentationResources/signin.png)\n\nBus Selection Page:\n\n![](documentationResources/bus-page.png)\n\nSeat Selection Page:\n\n![](documentationResources/seatSelection.gif)\n\nPayment \u0026 Confirmation Page:\n![](documentationResources/payment.gif)\n---\n\n## Developed With\n\n* [Visual Studio Code](https://code.visualstudio.com/) - A source code editor developed by Microsoft for Windows, Linux and macOS. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring\n* [Node.js](https://nodejs.org/en/) - Javascript runtime\n* [React](https://reactjs.org/) - A javascript library for building user interfaces\n* [Babel](https://babeljs.io/) - A transpiler for javascript\n* [Webpack](https://webpack.js.org/) - A module bundler\n* [SCSS](http://sass-lang.com/) - A css metalanguage\n* [Bootstrap 4](https://getbootstrap.com/) - Bootstrap is an open source toolkit for developing with HTML, CSS, and JS\n* [Axios](https://github.com/axios/axios) - Promise based HTTP client for the browser and node.js\n* [Express js](http://expressjs.com/) - Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.\n* [MongoDB atlas](https://www.mongodb.com/cloud/atlas) - MongoDB Atlas is the global cloud database service for modern applications.\n* [Passport Js](http://www.passportjs.org/) - Passport is authentication middleware for Node.js. Extremely flexible and modular, Passport can be unobtrusively dropped in to any Express-based web application.\n---\n\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nThe following software is required to be installed on your system:\n\n* Node 8.x\n* Npm 3.x\n\nType the following commands in the terminal to verify your node and npm versions\n\n```bash\nnode -v\nnpm -v\n```\n\n### Install\n\n\n\n* Install node modules\n\n   ```bash\n   cd MERN-BUS-APP\n   cd frontend\n   npm install\n   cd..\n   cd backend\n   npm install\n   ```\n\n\n### Starting both front end and back end servers\n\n* Build application\n\n  This command will start the mongodb and the front end part.\n\n  ```bash\n  cd frontend\n  npm start\n  cd..\n  cd backend\n  npm run devStart\n  ```\n\n\n---\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecraft26%2Fbus_booking-_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecraft26%2Fbus_booking-_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecraft26%2Fbus_booking-_app/lists"}