{"id":19860564,"url":"https://github.com/jefferson1104/gobarber-nodejs","last_synced_at":"2026-04-10T02:04:20.853Z","repository":{"id":107456519,"uuid":"386106970","full_name":"jefferson1104/gobarber-nodejs","owner":"jefferson1104","description":"Back-end (API) of the gobarber project, made with nodejs using typescript","archived":false,"fork":false,"pushed_at":"2021-10-27T14:44:02.000Z","size":3472,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T14:47:54.489Z","etag":null,"topics":["docker","docker-compose","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/jefferson1104.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":"2021-07-14T23:54:54.000Z","updated_at":"2023-10-30T19:32:19.000Z","dependencies_parsed_at":"2023-05-17T13:00:10.705Z","dependency_job_id":null,"html_url":"https://github.com/jefferson1104/gobarber-nodejs","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"29bddf6e1ae3301172b37ac0be6acfb0b185c5ac"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferson1104%2Fgobarber-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferson1104%2Fgobarber-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferson1104%2Fgobarber-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferson1104%2Fgobarber-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jefferson1104","download_url":"https://codeload.github.com/jefferson1104/gobarber-nodejs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241263105,"owners_count":19936055,"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":["docker","docker-compose","nodejs","typescript"],"created_at":"2024-11-12T15:06:18.458Z","updated_at":"2025-12-31T01:09:18.900Z","avatar_url":"https://github.com/jefferson1104.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" style=\"margin-bottom: 20px;\"\u003e\n  \u003ch1 align=\"center\"\u003eBACK-END (API)\u003c/h1\u003e\n  \u003cimg alt=\"gobarber\" src=\"https://github.com/jefferson1104/goBarber/raw/master/assets/images/goBarber-logo.svg\" width=\"auto\" heigth=\"auto\"/\u003e\n  \u003cp align=\"center\" style=\"margin-top: 20px;\"\u003e\n    \u003cimg alt=\"technology\" src=\"https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge\u0026logo=typescript\u0026logoColor=white\"\u003e\n    \u003cimg alt=\"technology\" src=\"https://img.shields.io/badge/Node.js-339933?style=for-the-badge\u0026logo=nodedotjs\u0026logoColor=white\"\u003e\n    \u003cimg alt=\"technology\" src=\"https://img.shields.io/badge/Express.js-000000?style=for-the-badge\u0026logo=express\u0026logoColor=white\"\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n# :barber: About this project\nBack-end of the gobarber project made with nodejs using typescript, applying the set of principles and best practices SOLID, TDD and DDD.\n\n# :rocket: Main technologies\n- [TypeScript](https://www.typescriptlang.org/docs/)\n- [NodeJS](https://nodejs.org/en/)\n- [ExpressJS](https://expressjs.com/pt-br/)\n- [Jest](https://jestjs.io/pt-BR/)\n- [PostgresSQL](https://www.postgresql.org/)\n- [MongoDB](https://www.mongodb.com/pt-br)\n- [Redis](https://redis.io/)\n- [NodeMailer](https://nodemailer.com/about/)\n\n# :zap: How to run this project\nInside the project, there is already a _docker-compose.yml_ file that has 3 **Docker** containers, a container with **PostgresSQL** database, a container with **MongoDB** database and another container with **Redis** caching database, you just have the Docker installed on your machine.\n\nTo start the project backend (API):\n\n```Bash\n# Access the back-end directory\n$ cd gobarber-nodejs\n\n# Install all project dependencies\n$ yarn\n\n# Create containers with PostgresSQL, MongoDB and Redis (docker must be installed on the machine)\n# The command below will start in the background and will not lock the shell\n$ sudo docker-compose up -d\n\n# Command to check if containers are running\n$ sudo docker ps -a\n\n# Run migrations for the database\n$ yarn typeorm migration:run\n\n# Launch goBarber back-end locally on port 3333\n$ yarn dev:server\n```\n\n# :zap: How to deploy this project\nI've separated a quick guide on how to deploy nodeJS applications on servers or linux vps, using ubuntu, the main point is to configure your project and leave it ready to deploy, and for that follow the [quick guide](./DEPLOY .md).\n\n# 🎨 Imagens\n\u003cdiv align=\"center\"\u003e\n  \u003ca href='./assets/images/screenshots/'\u003e\n    \u003cimg width=500 src=\"./assets/images/img-02.png\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href='./assets/images/screenshots/'\u003e\n    \u003cimg width=500 src=\"./assets/images/img-03.png\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href='./assets/images/screenshots/'\u003e\n    \u003cimg width=500 src=\"./assets/images/img-01.png\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefferson1104%2Fgobarber-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjefferson1104%2Fgobarber-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefferson1104%2Fgobarber-nodejs/lists"}