{"id":17141569,"url":"https://github.com/tomgi/loco-flight-search","last_synced_at":"2025-03-24T08:22:36.333Z","repository":{"id":147165858,"uuid":"138845606","full_name":"tomgi/loco-flight-search","owner":"tomgi","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-04T22:46:00.000Z","size":163,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T13:46:41.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://loco-flight-search.herokuapp.com/","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/tomgi.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":"2018-06-27T07:28:22.000Z","updated_at":"2018-07-04T22:46:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"0bf0308a-13b9-4057-a0d6-d3fa77c382e6","html_url":"https://github.com/tomgi/loco-flight-search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomgi%2Floco-flight-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomgi%2Floco-flight-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomgi%2Floco-flight-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomgi%2Floco-flight-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomgi","download_url":"https://codeload.github.com/tomgi/loco-flight-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245233091,"owners_count":20581739,"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":[],"created_at":"2024-10-14T20:25:51.435Z","updated_at":"2025-03-24T08:22:36.326Z","avatar_url":"https://github.com/tomgi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/tomgi/loco-flight-search.svg?branch=master)](https://travis-ci.org/tomgi/loco-flight-search)\n\n# Loco Flight Search\n\nSimple flight search application that uses Locomote API.\n\nDeployed to https://loco-flight-search.herokuapp.com/ (using free dyno, initial load can take some time if dyno went idle after inactivity).\n\n## Getting Started\n\nInstall dependencies, precompile assets and run server in `production` environment with:\n```\n$ ./start.sh\n```\n\nOr if you prefer to do it manually step-by-step:\n```\n$ npm install\n$ npm run build\n$ NODE_ENV=production npm start\n```\n\n### Prerequisites\n\nTo run this project you're gonna need\n* Node \u003e= 7.6.0 (for native async/await support). \\\nI strongly recommend using [nvm](https://github.com/creationix/nvm) for installing and managing Node versions.\n* NPM \u003e= 5.0.0\n* Browser with ES6 support.\n\n### Developing\n\nUse\n```\n$ npm run dev\n```\nto have a live reload of both backend and frontend.\n\nIn this mode JS sourcemaps are also included which enables in-browser debugging of frontend scripts.\n\n\n## Running the tests\n\nRun all tests with:\n```\n$ npm test\n```\n\n### Backend\n\nRun with:\n```\n$ npm run test-backend\n```\n\nBackend tests use [Jest](https://facebook.github.io/jest/), [SuperTest](https://github.com/visionmedia/supertest) and [nock](https://github.com/nock/nock).\n\n### Acceptance\n\nRun with:\n```\n$ npm run test-acceptance\n```\n\nDecided to give [cypress](https://www.cypress.io/) a try for end-to-end browser testing.\n\n## Deployment\n\nApplication is deployed to Heroku https://loco-flight-search.herokuapp.com/\n\n## Built With\n\nBackend uses [koa](https://koajs.com/) web framework.\n\nFrontend is pretty much VanillaJS, just some common libraries like [jQuery](https://jquery.com/) or [Moment.js](https://momentjs.com/) + [handlebars](https://handlebarsjs.com/) templates for a bit nicer componentization.\n\n[webpack](https://webpack.js.org/) is used to bundle all frontend JS to a single file. \\\n[babel](https://babeljs.io/) with `es2016` + `es2017` presets is used to be able to use async/await in the frontend code.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomgi%2Floco-flight-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomgi%2Floco-flight-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomgi%2Floco-flight-search/lists"}