{"id":17831741,"url":"https://github.com/codexpuneet/mock10-airtickets","last_synced_at":"2026-04-10T15:02:23.494Z","repository":{"id":185171815,"uuid":"605484339","full_name":"CodexPuneet/mock10-airtickets","owner":"CodexPuneet","description":"Hello, This Is my Mock 10 Backend Project Of Flight Booking App","archived":false,"fork":false,"pushed_at":"2023-02-23T10:05:42.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T03:25:30.660Z","etag":null,"topics":["atlas","dotenv","expressjs","jwt","mongodb","mongoose","nodejs"],"latest_commit_sha":null,"homepage":"https://happy-dove-jodhpurs.cyclic.app","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/CodexPuneet.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}},"created_at":"2023-02-23T08:57:14.000Z","updated_at":"2023-02-23T10:08:58.000Z","dependencies_parsed_at":"2023-07-31T23:54:14.307Z","dependency_job_id":null,"html_url":"https://github.com/CodexPuneet/mock10-airtickets","commit_stats":null,"previous_names":["codexpuneet/mock10-airtickets"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodexPuneet%2Fmock10-airtickets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodexPuneet%2Fmock10-airtickets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodexPuneet%2Fmock10-airtickets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodexPuneet%2Fmock10-airtickets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodexPuneet","download_url":"https://codeload.github.com/CodexPuneet/mock10-airtickets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246811519,"owners_count":20837777,"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","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":["atlas","dotenv","expressjs","jwt","mongodb","mongoose","nodejs"],"created_at":"2024-10-27T19:48:03.903Z","updated_at":"2025-12-30T20:27:27.031Z","avatar_url":"https://github.com/CodexPuneet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Air Tickets Backend\n\n# SignUp\n\nPOST - api/user/register - This endpoint should allow users to register.\nBody : { \"name : \"name\", \"email\" : \"email\", \"password\" : \"password\" }\n\nResult : Registration successfull\n\n # LogIn\nPOST - api/user/login - This endpoint should allow users to login.\nBody : { \"email\" : \"email\", \"password\" : \"password\" }\n\nResult : { \"msg\": \"Login successful\", \"token\": \"token\" }\n\nAfter Login Pass token in headers.authencation to book the tickets\n\n# Flights Routes\n\nGET - /flight/flights - This endpoint should return a list of all available flights.\nResult : Flight Array\n\nGET - api/flight/flights/:id - This endpoint should return the details of a specific flight identified by its ID.\nResult : Single Flight\n\nPOST - api/flight/flights - This endpoint should allow users to add new flights to the system.\nBody : { \"airline\": \"airline\", \"flightNo\": \"flightNo\", \"departure\": \"departure\", \"arrival\": \"arrival\", \"departureTime\": \"departureTime\", \"arrivalTime\": \"arrivalTime\", \"seats\": 50, \"price\": 9999 }\n\nResult : Flights Added successfull\n\nPATCH - api/flight/flights/:id - This endpoint should allow users to update the details of a specific flight identified by its ID.\nBody : { \"seats\": 67, \"price\": 13834 }\n\nResult : Flights Updated successfull\n\nDELETE - api/flightapi/flights/:id - This endpoint should allow users to delete a specific flight identified by its ID.\nResult : Flights Deleted successfull\n\n# Booking Routes\n\nPOST - api/booking - This endpoint should allow users to book flights with flight_id no.\nBody : { \"user_id\":\"_id\",\"flight_id\":\"_id\" }\nResult : Flight_id \u0026 User_id\n\nGET - api/booking/dashboard - This point should list all the bookings so far with the user and flight details.\nResult : Booking Array\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodexpuneet%2Fmock10-airtickets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodexpuneet%2Fmock10-airtickets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodexpuneet%2Fmock10-airtickets/lists"}