{"id":26891477,"url":"https://github.com/jmrl23/portfolio-backend","last_synced_at":"2026-02-25T17:36:56.476Z","repository":{"id":251544423,"uuid":"837601483","full_name":"jmrl23/portfolio-backend","owner":"jmrl23","description":"portfolio website's backend","archived":false,"fork":false,"pushed_at":"2025-04-26T16:45:42.000Z","size":500,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T13:51:04.749Z","etag":null,"topics":["api","backend","backend-api","portfolio-website","portofolio","rest-api"],"latest_commit_sha":null,"homepage":"https://portfolio-backend-two-tau.vercel.app","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/jmrl23.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":"2024-08-03T13:04:51.000Z","updated_at":"2025-04-26T16:45:14.000Z","dependencies_parsed_at":"2024-08-14T13:45:50.165Z","dependency_job_id":"75318817-2f16-45fc-9e55-40a6d34e9fd0","html_url":"https://github.com/jmrl23/portfolio-backend","commit_stats":null,"previous_names":["jmrl23/portfolio-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmrl23/portfolio-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrl23%2Fportfolio-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrl23%2Fportfolio-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrl23%2Fportfolio-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrl23%2Fportfolio-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmrl23","download_url":"https://codeload.github.com/jmrl23/portfolio-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrl23%2Fportfolio-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29832971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T17:17:09.781Z","status":"ssl_error","status_checked_at":"2026-02-25T17:16:50.421Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["api","backend","backend-api","portfolio-website","portofolio","rest-api"],"created_at":"2025-03-31T22:34:07.883Z","updated_at":"2026-02-25T17:36:56.462Z","avatar_url":"https://github.com/jmrl23.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portfolio backend\n\n![](https://media.giphy.com/media/l0HlPBrpFSdVq5WPC/giphy.gif?cid=790b76114rtbtkwbijr4wt3fq6l67cgfu72nsz83clyjneje\u0026ep=v1_gifs_search\u0026rid=giphy.gif\u0026ct=g)\n\nbackend server for portfolio website\n\n## Quickstart\n\noptions on making things ready\n\n- standalone (node.js)\n\n  1. make a `.env` file and fill out the required variables\n  1. run build (only if you wish to run the production/ build version)\n  1. run start [script](#scripts)\n\n- docker\n  1. [fill](./docker-compose.yaml) the environment variables needed\n  1. run build [script](#scripts)\n  1. run `docker compose up -d`\n\n## Features/ modules\n\n- [cache](./src/modules/cache/)\n  - api endpoints optimized by cache\n  - uses redis under the hood\n- [auth](./src/modules/auth/)\n  - generate api key\n    - [modular access](./src/modules/auth/authPermissions.json)\n  - revoke api key\n- [emails](./src/modules/emails/)\n  - send email using SMTP\n- [files](./src/modules/files/)\n  - [upload \u0026 delete](./src/modules/files/stores/filesStoreInterface.ts)\n  - custom files store ([factory](./src/modules/files/filesStoreFactory.ts))\n- [projects](./src/modules/projects/)\n  - create, read, update, and delete operations\n- [testimonials](./src/modules/testimonials/)\n  - generate testimonial key\n    - strategy to prevent spams\n  - create, read, and delete operations\n\n## Scripts\n\n| Script     | Description                                 |\n| ---------- | ------------------------------------------- |\n| build      | build project                               |\n| test       | run test files                              |\n| start      | start (must build first)                    |\n| start:dev  | start on development mode (nodemon + swc)   |\n| start:prod | start on production mode (must build first) |\n| format     | format codes (prettier)                     |\n| lint       | lint codes (eslint)                         |\n\n## Extras\n\n- [frontend repository](https://github.com/jmrl23/portfolio)\n\n## References\n\n- [fastify-template](https://github.com/jmrl23/fastify-template)\n- [cache-manager](https://www.npmjs.com/package/cache-manager)\n- [Uniform Resource Identifier](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)\n- [google app passwords](https://myaccount.google.com/apppasswords)\n- [prisma](https://www.prisma.io/)\n- [swagger](https://swagger.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrl23%2Fportfolio-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmrl23%2Fportfolio-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrl23%2Fportfolio-backend/lists"}