{"id":15647843,"url":"https://github.com/eliasgcf/gobarber-api","last_synced_at":"2025-04-30T13:38:59.913Z","repository":{"id":47006430,"uuid":"261282174","full_name":"EliasGcf/gobarber-api","owner":"EliasGcf","description":"✂️  Rest api for gobarber application - made with express framework - using docker, postgreSQL and typeORM","archived":false,"fork":false,"pushed_at":"2021-09-17T16:10:56.000Z","size":996,"stargazers_count":46,"open_issues_count":0,"forks_count":22,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-26T16:20:49.932Z","etag":null,"topics":["api-rest","backend","express","gobarber","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"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/EliasGcf.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}},"created_at":"2020-05-04T19:56:50.000Z","updated_at":"2024-07-31T03:22:09.000Z","dependencies_parsed_at":"2022-08-23T01:00:34.883Z","dependency_job_id":null,"html_url":"https://github.com/EliasGcf/gobarber-api","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/EliasGcf%2Fgobarber-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliasGcf%2Fgobarber-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliasGcf%2Fgobarber-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliasGcf%2Fgobarber-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EliasGcf","download_url":"https://codeload.github.com/EliasGcf/gobarber-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232545253,"owners_count":18539624,"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":["api-rest","backend","express","gobarber","nodejs","typescript"],"created_at":"2024-10-03T12:21:32.834Z","updated_at":"2025-01-05T04:13:10.262Z","avatar_url":"https://github.com/EliasGcf.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg alt=\"Logo\" src=\"https://res.cloudinary.com/eliasgcf/image/upload/v1588625369/GoBarber/logo_iw1v9f.svg\" width=\"200px\"\u003e\n\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003e\n  Express Application for GoBarber project\n\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003eThe best way to schedule your service!\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/EliasGcf/gobarber-api?color=%23FF9000\"\u003e\n\n  \u003ca href=\"https://www.linkedin.com/in/eliasgcf/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cimg alt=\"Made by\" src=\"https://img.shields.io/badge/made%20by-elias%20gabriel-%23FF9000\"\u003e\n  \u003c/a\u003e\n\n  \u003cimg alt=\"Repository size\" src=\"https://img.shields.io/github/repo-size/EliasGcf/gobarber-api?color=%23FF9000\"\u003e\n\n  \u003ca href=\"https://github.com/EliasGcf/gobarber-api/commits/master\"\u003e\n    \u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/EliasGcf/gobarber-api?color=%23FF9000\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/EliasGcf/gobarber-api/issues\"\u003e\n    \u003cimg alt=\"Repository issues\" src=\"https://img.shields.io/github/issues/EliasGcf/gobarber-api?color=%23FF9000\"\u003e\n  \u003c/a\u003e\n\n  \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/EliasGcf/gobarber-api?color=%23FF9000\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#%EF%B8%8F-about-the-project\"\u003eAbout the project\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-technologies\"\u003eTechnologies\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-getting-started\"\u003eGetting started\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-how-to-contribute\"\u003eHow to contribute\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp id=\"insomniaButton\" align=\"center\"\u003e\n  \u003ca href=\"https://insomnia.rest/run/?label=GoBarber%20-%20EliasGcf\u0026uri=https%3A%2F%2Fraw.githubusercontent.com%2FEliasGcf%2Fgobarber-api%2Fmaster%2FInsomnia.json\" target=\"_blank\"\u003e\u003cimg src=\"https://insomnia.rest/images/run.svg\" alt=\"Run in Insomnia\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## 💇🏻‍♂️ About the project\n\nThis api provides everything needed to organize appointments between the barbers and customers.\n\nCustomers can choose the best time available to them.\n\nProviders can see all their appointments, manage the times, also see if one client canceled the schedule.\n\nTo see the **web client**, click here: [GoBarber Web](https://github.com/EliasGcf/gobarber-web)\u003cbr /\u003e\nTo see the **mobile client**, click here: [GoBarber Mobile](https://github.com/EliasGcf/gobarber-mobile)\n\n## 🚀 Technologies\n\nTechnologies that I used to develop this api\n\n- [Node.js](https://nodejs.org/en/)\n- [TypeScript](https://www.typescriptlang.org/)\n- [Express](https://expressjs.com/pt-br/)\n- [Multer](https://github.com/expressjs/multer)\n- [TypeORM](https://typeorm.io/#/)\n- [JWT-token](https://jwt.io/)\n- [uuid v4](https://github.com/thenativeweb/uuidv4/)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Date-fns](https://date-fns.org/)\n- [Jest](https://jestjs.io/)\n- [SuperTest](https://github.com/visionmedia/supertest)\n- [Husky](https://github.com/typicode/husky)\n- [Commitlint](https://github.com/conventional-changelog/commitlint)\n- [Commitizen](https://github.com/commitizen/cz-cli)\n- [Eslint](https://eslint.org/)\n- [Prettier](https://prettier.io/)\n- [EditorConfig](https://editorconfig.org/)\n\n## 💻 Getting started\n\nImport the `Insomnia.json` on Insomnia App or click on [Run in Insomnia](#insomniaButton) button\n\n### Requirements\n\n- [Node.js](https://nodejs.org/en/)\n- [Yarn](https://classic.yarnpkg.com/) or [npm](https://www.npmjs.com/)\n- One instance of [PostgreSQL](https://www.postgresql.org/)\n\n\u003e Obs.: I recommend use docker\n\n**Clone the project and access the folder**\n\n```bash\n$ git clone https://github.com/EliasGcf/gobarber-api.git \u0026\u0026 cd gobarber-api\n```\n\n**Follow the steps below**\n\n```bash\n# Install the dependencies\n$ yarn\n\n# Make a copy of '.env.example' to '.env'\n# and set with YOUR environment variables.\n# The aws variables do not need to be filled for dev environment\n$ cp .env.example .env\n\n# Create the instance of postgreSQL using docker\n$ docker run --name gobarber-postgres -e POSTGRES_USER=docker \\\n              -e POSTGRES_DB=gobarber -e POSTGRES_PASSWORD=docker \\\n              -p 5432:5432 -d postgres\n\n# Create the instance of mongoDB using docker\n$ docker run --name gobarber-mongodb -p 27017:27017 -d -t mongo\n\n# Create the instance of redis using docker\n$ docker run --name gobarber-redis -p 6379:6379 -d -t redis:alpine\n\n# Once the services are running, run the migrations\n$ yarn typeorm migration:run\n\n# To finish, run the api service\n$ yarn dev:server\n\n# Well done, project is started!\n```\n\n## 🤔 How to contribute\n\n**Make a fork of this repository**\n\n```bash\n# Fork using GitHub official command line\n# If you don't have the GitHub CLI, use the web site to do that.\n\n$ gh repo fork EliasGcf/gobarber-api\n```\n\n**Follow the steps below**\n\n```bash\n# Clone your fork\n$ git clone your-fork-url \u0026\u0026 cd gobarber-api\n\n# Create a branch with your feature\n$ git checkout -b my-feature\n\n# Make the commit with your changes\n$ git commit -m 'feat: My new feature'\n\n# Send the code to your remote branch\n$ git push origin my-feature\n```\n\nAfter your pull request is merged, you can delete your branch\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\nMade with 💜 \u0026nbsp;by Elias Gabriel 👋 \u0026nbsp;[See my linkedin](https://www.linkedin.com/in/eliasgcf/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliasgcf%2Fgobarber-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliasgcf%2Fgobarber-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliasgcf%2Fgobarber-api/lists"}