{"id":20181340,"url":"https://github.com/lasbrdev/smartbrain-api-v1","last_synced_at":"2025-03-03T06:11:38.328Z","repository":{"id":151051367,"uuid":"603176370","full_name":"lasbrDev/smartbrain-api-v1","owner":"lasbrDev","description":"Backend project - smartbrain-api involving a little bit of marchine learning, PostgreSQL and security validations. It will be consumed by a front-end application called facerecognition-smartbrain.","archived":false,"fork":false,"pushed_at":"2023-12-30T03:01:58.000Z","size":129,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T17:20:00.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lasbrDev.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":"2023-02-17T19:25:15.000Z","updated_at":"2023-02-17T19:57:23.000Z","dependencies_parsed_at":"2023-12-28T03:11:49.438Z","dependency_job_id":"a3a1a8f6-ac91-4c5a-b587-f7749ec4fccc","html_url":"https://github.com/lasbrDev/smartbrain-api-v1","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/lasbrDev%2Fsmartbrain-api-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Fsmartbrain-api-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Fsmartbrain-api-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Fsmartbrain-api-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lasbrDev","download_url":"https://codeload.github.com/lasbrDev/smartbrain-api-v1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616700,"owners_count":19991543,"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":[],"created_at":"2024-11-14T02:35:11.857Z","updated_at":"2025-03-03T06:11:38.307Z","avatar_url":"https://github.com/lasbrDev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart Brain - Face Recognition\n\n\nThis is an amazing Backend API, developed with NodeJS and ExpressJS. Basically this API, detect the face area of ​​any jpg image captured from any web page, how cool is that?\n\nFrontend is located in another repository, which you can check out [here](https://github.com/lasbrDev/smartbrainapi).\n\n\n\n\n\n## Reference\n\n - [Node.org](https://nodejs.org/en/docs/guides)\n - [Clarifai API](https://clarifai.com/clarifai/main/models/face-detection)\n - [NPMJS](https://www.npmjs.com/)\n - [Postman](https://quickstarts.postman.com/)\n - [ExpressJS *](https://expressjs.com/pt-br/guide/routing.html)\n - [NestJS *](https://docs.nestjs.com/)\n - [PostgreSQL](https://www.postgresql.org/docs/)\n \n\n\n## Author\n\n- [@lasbrDev](https://github.com/lasbrDev)\n\n\n## Appendix\n\nThis API was developed with the ExpressJS framework, but is being migrated to NestJS. The motivation for the change is API scalability, unit testing, and improving application functionality regarding decoupling.\n\n\n\n## Demonstration\n\n- Access the application address  [here](https://facedetect-smartbrain.netlify.app/);\n- Make a small registration (name and email);\n- Capture a jpg face image from the web and paste it inside the indicated field;\n- See app detecting face.\n\n## Deploy\n\nI used 3 platforms to deploy. One for the Frontend, one for the Backend and one for the PostgreSQL Database.\n\n\n- [Netlifly](https://www.netlify.com/) for Frontend;\n- [Cyclic](https://www.cyclic.sh/) for Backend (server);\n- [ElephantSQL](https://www.elephantsql.com/) for database which is a PostgreSQL as a service.\n\n\n## Learnings\n\nThis project was very challenging, I managed to fully understand how a real API works, through validations, tests and deploy, which was a step that required a lot of attention and a lot of reading. Because I was using a free service, I had to perform this deploy operation on 3 different platforms, which certainly made me reach another level in my career as a developer. Many things still need to be updated and improved, it's just the beginning. Let's go ahead.\n\n\n\n## Stack \n\n**Frontend:** React\n\n**Backend:** Node, Express -\u003e Nest\n\n**Database:** PostgreSQL\n\n**API Test Client:** Postman\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasbrdev%2Fsmartbrain-api-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flasbrdev%2Fsmartbrain-api-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasbrdev%2Fsmartbrain-api-v1/lists"}