{"id":17651814,"url":"https://github.com/diegovictor/gobarber-web","last_synced_at":"2026-01-20T12:34:05.953Z","repository":{"id":42379950,"uuid":"209999553","full_name":"DiegoVictor/gobarber-web","owner":"DiegoVictor","description":"Web front-end built during the Rocketseat Bootcamp #11","archived":false,"fork":false,"pushed_at":"2025-01-08T13:10:50.000Z","size":11910,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T03:48:19.741Z","etag":null,"topics":["coverage-report","editorconfig","eslint","figma","gobarber","javascript","jest","js","localstorage","node","nodejs","prettier","react","reactjs","rocketseat","ts","typescript","web"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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":"2019-09-21T14:30:18.000Z","updated_at":"2025-01-08T13:10:54.000Z","dependencies_parsed_at":"2024-01-14T20:50:36.626Z","dependency_job_id":null,"html_url":"https://github.com/DiegoVictor/gobarber-web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DiegoVictor/gobarber-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Fgobarber-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Fgobarber-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Fgobarber-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Fgobarber-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DiegoVictor","download_url":"https://codeload.github.com/DiegoVictor/gobarber-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiegoVictor%2Fgobarber-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"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":["coverage-report","editorconfig","eslint","figma","gobarber","javascript","jest","js","localstorage","node","nodejs","prettier","react","reactjs","rocketseat","ts","typescript","web"],"created_at":"2024-10-23T11:43:47.713Z","updated_at":"2026-01-20T12:34:05.918Z","avatar_url":"https://github.com/DiegoVictor.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Web] GoBaber\n[![AppVeyor](https://img.shields.io/appveyor/build/diegovictor/gobarber-web?logo=appveyor\u0026style=flat-square)](https://ci.appveyor.com/project/DiegoVictor/gobarber-web)\n[![typescript](https://img.shields.io/badge/typescript-5.1.6-3178c6?style=flat-square\u0026logo=typescript)](https://www.typescriptlang.org/)\n[![react](https://img.shields.io/badge/reactjs-18.2.0-61dafb?style=flat-square\u0026logo=react)](https://reactjs.org/)\n[![styled-components](https://img.shields.io/badge/styled_components-6.0.2-db7b86?style=flat-square\u0026logo=styled-components)](https://styled-components.com/)\n[![eslint](https://img.shields.io/badge/eslint-8.44.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-29.6.0-brightgreen?style=flat-square\u0026logo=jest)](https://jestjs.io/)\n[![coverage](https://img.shields.io/codecov/c/gh/DiegoVictor/gobarber-web?logo=codecov\u0026style=flat-square)](https://codecov.io/gh/DiegoVictor/gobarber-web)\n[![MIT License](https://img.shields.io/badge/license-MIT-green?style=flat-square)](https://raw.githubusercontent.com/DiegoVictor/gobarber-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 providers to register yourself, change or reset password, update name and email, update avatar and see your schedules. All the resources used by this application comes from its [`API`](https://github.com/DiegoVictor/gobarber-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  * [localStorage](#localstorage)\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/gobarber-web/main/screenshots/login.png\" width=\"49%\"/\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/gobarber-web/main/screenshots/signup.png\" width=\"49%\"/\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/gobarber-web/main/screenshots/forgot.png\" width=\"49%\"/\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/gobarber-web/main/screenshots/reset.png\" width=\"49%\"/\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/gobarber-web/main/screenshots/dashboard.png\" width=\"49%\"/\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/DiegoVictor/gobarber-web/main/screenshots/profile.png\" width=\"49%\"/\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/gobarber-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|`http://localhost:3333`\n\n### API\nStart the [API](https://github.com/DiegoVictor/gobarber-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## localStorage\nThe project saves users's data and token into [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) keys: `@GoBarber:user` and `@GoBarber:token`. Before use `@GoBarber:user` data you need parse the data to a JavaScript object with [JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse) function. Below you can see fictitious data:\n\n* `@GoBarber:user`\n```json\n{\n  \"id\": \"01931fee-32d4-4af7-b4e9-12159c5d703e\",\n  \"name\": \"John Doe\",\n  \"email\": \"johndoe@example.com\",\n  \"avatar\": \"52bde824dff12071c7df-20200219_214816.jpg\",\n  \"created_at\": \"2020-06-07T21:16:15.754Z\",\n  \"updated_at\": \"2020-11-20T04:06:15.975Z\",\n  \"avatar_url\": \"http://127.0.0.1:3333/uploads/52bde824dff12071c7df-20200219_214816.jpg\"\n}\n```\n\n* `@GoBarber:token`\n```\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2MDU4MzQ4MDcsImV4cCI6MTYwNTkyMTIwNywic3ViIjoiMDE5MzFmZWUtMzJkNC00YWY3LWI0ZTktMTIxNTljNWQ3MDNlIn0.uzMK3TufipdyIrKxqakOhJtNF3VH7zkHPAfjTUae2q8\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegovictor%2Fgobarber-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegovictor%2Fgobarber-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegovictor%2Fgobarber-web/lists"}