{"id":25216380,"url":"https://github.com/ritu456286/flight-booking-system","last_synced_at":"2026-04-14T03:33:08.308Z","repository":{"id":276598104,"uuid":"929297074","full_name":"ritu456286/flight-booking-system","owner":"ritu456286","description":"This a backend learning project following microservices architecture.","archived":false,"fork":false,"pushed_at":"2025-02-10T00:00:22.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T09:15:19.584Z","etag":null,"topics":["expressjs","microservice","nodejs"],"latest_commit_sha":null,"homepage":"","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/ritu456286.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":"2025-02-08T08:00:31.000Z","updated_at":"2025-02-10T00:00:25.000Z","dependencies_parsed_at":"2025-02-09T10:37:01.024Z","dependency_job_id":null,"html_url":"https://github.com/ritu456286/flight-booking-system","commit_stats":null,"previous_names":["ritu456286/flight-booking-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ritu456286/flight-booking-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ritu456286%2Fflight-booking-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ritu456286%2Fflight-booking-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ritu456286%2Fflight-booking-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ritu456286%2Fflight-booking-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ritu456286","download_url":"https://codeload.github.com/ritu456286/flight-booking-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ritu456286%2Fflight-booking-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["expressjs","microservice","nodejs"],"created_at":"2025-02-10T19:17:57.799Z","updated_at":"2026-04-14T03:33:08.293Z","avatar_url":"https://github.com/ritu456286.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Setup the project\n\n- Clone this github repo and open it in your favourite text editor.\n- In the root directory create a `.env` file and add the following env variables\n\n```\n    PORT=\u003cport number of your choice to run the server on\u003e\n```\nex:\n```\n    PORT=3000\n```\n- Inside the folder path, execute the following to download the dependencies:\n```\n  npm install\n``` \n\n- Inside the `src/config` folder, create a file named `config.json`, and paste the following code:\n```\n{\n  \"development\": {\n    \"username\": \"root\",\n    \"password\": null,\n    \"database\": \"database_development\",\n    \"host\": \"127.0.0.1\",\n    \"dialect\": \"mysql\"\n  },\n  \"test\": {\n    \"username\": \"root\",\n    \"password\": null,\n    \"database\": \"database_test\",\n    \"host\": \"127.0.0.1\",\n    \"dialect\": \"mysql\"\n  },\n  \"production\": {\n    \"username\": \"root\",\n    \"password\": null,\n    \"database\": \"database_production\",\n    \"host\": \"127.0.0.1\",\n    \"dialect\": \"mysql\"\n  }\n}\n```\n- go inside the `src` folder, and execute the following command:\n```\n  npx sequelize init\n```\n- By executing the above command, you wil get migrations and seeders folders along with the given default config.json file.\n- Run the following commands after intialization to create the database and do the db migrations: \n```\nnpx sequelize db:create\nnpx sequelize db:migrate\n```\n- If you're setting up your development environment, then write the username of your db, password of your db, and in dialect mention whatever db you are using. For ex: mysql, postgres, mariadb, etc.\n- If you're setting up test or prod environment, make sure you also replace the host with the hosted db url. \n- To run the server execute:\n```\n  npm run dev\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fritu456286%2Fflight-booking-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fritu456286%2Fflight-booking-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fritu456286%2Fflight-booking-system/lists"}