{"id":17651886,"url":"https://github.com/diegovictor/aircnc-web","last_synced_at":"2025-04-13T02:23:23.378Z","repository":{"id":98963861,"uuid":"326316444","full_name":"DiegoVictor/aircnc-web","owner":"DiegoVictor","description":"Project developed during the OmniStack Week 9.0 ","archived":false,"fork":false,"pushed_at":"2025-01-21T13:04:18.000Z","size":63277,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-05T08:42:41.830Z","etag":null,"topics":["editorconfig","eslint","javascript","js","node","nodejs","omnistack","react","reactjs","rocketseat","web"],"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-03T03:04:21.000Z","updated_at":"2025-01-21T13:04:22.000Z","dependencies_parsed_at":"2025-02-05T10:53:21.179Z","dependency_job_id":null,"html_url":"https://github.com/DiegoVictor/aircnc-web","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-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Faircnc-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Faircnc-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Faircnc-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DiegoVictor","download_url":"https://codeload.github.com/DiegoVictor/aircnc-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248655012,"owners_count":21140408,"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":["editorconfig","eslint","javascript","js","node","nodejs","omnistack","react","reactjs","rocketseat","web"],"created_at":"2024-10-23T11:44:02.978Z","updated_at":"2025-04-13T02:23:23.361Z","avatar_url":"https://github.com/DiegoVictor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Web] Aircnc\n[![CircleCI](https://img.shields.io/circleci/build/github/DiegoVictor/aircnc-web?style=flat-square\u0026logo=circleci)](https://app.circleci.com/pipelines/github/DiegoVictor/aircnc-web?branch=main)\n[![reactjs](https://img.shields.io/badge/reactjs-16.14.0-61dafb?style=flat-square\u0026logo=react)](https://reactjs.org/)\n[![styled-components](https://img.shields.io/badge/styled_components-4.4.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-web?logo=codecov\u0026style=flat-square)](https://codecov.io/gh/DiegoVictor/aircnc-web)\n[![MIT License](https://img.shields.io/badge/license-MIT-green?style=flat-square)](https://raw.githubusercontent.com/DiegoVictor/aircnc-web/main/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\nThis web version allow users to create spots, approve or reject spots' bookings, see spot details an edit it. 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* [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-web/main/screenshots/dashboard.jpg\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-web/main/screenshots/dashboard-pending.jpg\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-web/main/screenshots/details.jpg\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-web/main/screenshots/details-bookings.jpg\" width=\"32%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/aircnc-web/main/screenshots/edit.jpg\" 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---|---|---\nREACT_APP_API_URL|API's url with version (v1)|`http://localhost:3333/v1`\nREACT_APP_SOCKET_URL|API'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`](#env) too.\n\n# Usage\nTo start the app run:\n```\n$ yarn start\n```\nOr:\n```\nnpm run start\n```\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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegovictor%2Faircnc-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegovictor%2Faircnc-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegovictor%2Faircnc-web/lists"}