{"id":17651803,"url":"https://github.com/diegovictor/aircnc-app","last_synced_at":"2025-04-13T02:26:34.669Z","repository":{"id":98963830,"uuid":"327728192","full_name":"DiegoVictor/aircnc-app","owner":"DiegoVictor","description":"Project developed during the OmniStack Week 9.0 ","archived":false,"fork":false,"pushed_at":"2025-01-22T12:25:51.000Z","size":70236,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-05T08:42:41.773Z","etag":null,"topics":["aircnc","android","app","editorconfig","gostack","javascript","js","node","nodejs","omnistack","react","react-native","rocketseat"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DiegoVictor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-07T21:25:09.000Z","updated_at":"2025-01-22T12:25:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"bcb0c660-5670-43de-9e65-73dc26bd85dc","html_url":"https://github.com/DiegoVictor/aircnc-app","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/DiegoVictor%2Faircnc-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Faircnc-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Faircnc-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Faircnc-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DiegoVictor","download_url":"https://codeload.github.com/DiegoVictor/aircnc-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654921,"owners_count":21140390,"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":["aircnc","android","app","editorconfig","gostack","javascript","js","node","nodejs","omnistack","react","react-native","rocketseat"],"created_at":"2024-10-23T11:43:44.588Z","updated_at":"2025-04-13T02:26:34.664Z","avatar_url":"https://github.com/DiegoVictor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [App] Aircnc\n[![CircleCI](https://img.shields.io/circleci/build/github/DiegoVictor/aircnc-app?style=flat-square\u0026logo=circleci)](https://app.circleci.com/pipelines/github/DiegoVictor/aircnc-app?branch=main)\n[![react-native](https://img.shields.io/badge/react--native-0.61.5-61dafb?style=flat-square\u0026logo=react)](https://reactnative.dev/)\n[![styled-components](https://img.shields.io/badge/styled_components-5.2.1-db7b86?style=flat-square\u0026logo=styled-components)](https://styled-components.com/)\n[![eslint](https://img.shields.io/badge/eslint-6.8.0-4b32c3?style=flat-square\u0026logo=eslint)](https://eslint.org/)\n[![airbnb-style](https://flat.badgen.net/badge/style-guide/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n[![jest](https://img.shields.io/badge/jest-24.9.0-brightgreen?style=flat-square\u0026logo=jest)](https://jestjs.io/)\n[![coverage](https://img.shields.io/codecov/c/gh/DiegoVictor/aircnc-app?logo=codecov\u0026style=flat-square)](https://codecov.io/gh/DiegoVictor/aircnc-app)\n[![MIT License](https://img.shields.io/badge/license-MIT-green?style=flat-square)](https://raw.githubusercontent.com/DiegoVictor/aircnc-app/main/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\nThis app allows to users to book spots from companies to a specified date, be notified when the request is approved or rejected and see all book requests made and its current status. All the resources used by this application comes from its [`API`](https://github.com/DiegoVictor/aircnc-api).\n\n## Table of Contents\n* [Screenshots](#screenshots)\n* [Installing](#installing)\n  * [Configuring](#configuring)\n    * [.env](#env)\n    * [API](#api)\n* [Usage](#usage)\n  * [OS](#os)\n* [Running the tests](#running-the-tests)\n  * [Coverage report](#coverage-report)\n\n# Screenshots\nClick to expand.\u003cbr\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-app/main/screenshots/signin.png\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-app/main/screenshots/list.png\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-app/main/screenshots/book.png\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-app/main/screenshots/calendar.png\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-app/main/screenshots/booked.png\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-app/main/screenshots/bookings.png\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-app/main/screenshots/canceled.png\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-app/main/screenshots/approved.png\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-app/main/screenshots/rejected.png\" width=\"32%\" /\u003e\n\n# Installing\nEasy peasy lemon squeezy:\n```\n$ yarn\n```\nOr:\n```\n$ npm install\n```\n\u003e Was installed and configured the [`eslint`](https://eslint.org/) and [`prettier`](https://prettier.io/) to keep the code clean and patterned.\n\n## Configuring\nConfigure your environment variables and remember to start the [API](https://github.com/DiegoVictor/aircnc-api) before to start this app.\n\n### .env\nIn this file you may configure the API's url. Rename the `.env.example` in the root directory to `.env` then just update with your settings.\n\nkey|description|default\n---|---|---\nAPI_URL|API's url with version (v1)|`http://localhost:3333/v1`\nSOCKET_URL|Socket.io's url|`http://localhost:3333`\n\n### API\nStart the [`API`](https://github.com/DiegoVictor/aircnc-api) (see its README for more information). In case of any change in the API's port or host remember to update the `.env`'s `API_URL` and `SOCKET_URL` properties too.\n\u003e Also, maybe you need run reverse command to the API's port: `adb reverse tcp:3333 tcp:3333`\n\n# Usage\nThe first build must be through USB connection, so connect your device (or just open your emulator) and run:\n```\n$ yarn android\n```\nOr:\n```\n$ npm run android\n```\n\nIn the next times you can just run the Metro Bundler server:\n```\n$ yarn start\n```\nOr:\n```\n$ npm run start\n```\n\n## OS\nThis app was tested only with Android through USB connection and [Genymotion](https://www.genymotion.com/) (Emulator), is strongly recommended to use the same operational system, but of course you can use an emulator or a real device connected through wifi or USB.\n\n# Running the tests\n[Jest](https://jestjs.io/) was the choice to test the app, to run:\n```\n$ yarn test\n```\nOr:\n```\n$ npm run test\n```\n\n## Coverage report\nYou can see the coverage report inside `tests/coverage`. They are automatically created after the tests run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegovictor%2Faircnc-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegovictor%2Faircnc-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegovictor%2Faircnc-app/lists"}