{"id":19495467,"url":"https://github.com/alexandredresch/portfolio-server","last_synced_at":"2026-05-16T13:01:33.669Z","repository":{"id":230475240,"uuid":"778076950","full_name":"AlexandreDresch/Portfolio-Server","owner":"AlexandreDresch","description":"This is the backend for my portfolio, built using NestJS. It provides APIs to manage the projects displayed in the frontend of the portfolio. The backend handles the creation, updating, retrieval, and deletion of projects.","archived":false,"fork":false,"pushed_at":"2024-07-05T03:04:50.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-07T07:29:37.878Z","etag":null,"topics":["class-transformer","class-validator","nestjs","prisma","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/AlexandreDresch.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-03-27T03:02:02.000Z","updated_at":"2024-07-05T03:04:53.000Z","dependencies_parsed_at":"2024-03-30T01:24:09.429Z","dependency_job_id":"a984895e-9940-428c-a6b1-c9bcb4b7f94d","html_url":"https://github.com/AlexandreDresch/Portfolio-Server","commit_stats":null,"previous_names":["alexandredresch/portfolio-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlexandreDresch/Portfolio-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreDresch%2FPortfolio-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreDresch%2FPortfolio-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreDresch%2FPortfolio-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreDresch%2FPortfolio-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexandreDresch","download_url":"https://codeload.github.com/AlexandreDresch/Portfolio-Server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreDresch%2FPortfolio-Server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33103970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["class-transformer","class-validator","nestjs","prisma","typescript"],"created_at":"2024-11-10T21:37:51.428Z","updated_at":"2026-05-16T13:01:33.649Z","avatar_url":"https://github.com/AlexandreDresch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  Portfolio Backend\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://nestjs.com/\" target=\"blank\"\u003e\u003cimg src=\"https://nestjs.com/img/logo-small.svg\" width=\"200\" alt=\"Nest Logo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n### This is the backend for my portfolio, built using NestJS. It provides APIs to manage the projects displayed in the frontend of the portfolio. The backend handles the creation, updating, retrieval, and deletion of projects.\n\n## Features\n\n- **CRUD Operations**: Create, read, update, and delete projects.\n- **Validation**: Ensures data integrity using class-validator.\n- **Database Integration**: Uses Prisma for database interactions.\n\n## Starting the project\nClone the repository:\n```cl\ngit clone https://github.com/AlexandreDresch/Portfolio-Server.git\n```\nGo to the project directory:\n```cl\ncd Portfolio-Server\n```\n\nUse **npm install** to install project dependencies.\n\u003cbr /\u003e\nPopulate `.env` file based on `.env.EXAMPLE`.  \n\u003cbr /\u003e\nThen start the project.\n\n```cl\nnpm run start\n```\n\n## API Endpoints\n#### Create a Project\n- URL: /projects\n- Method: POST\n- Request Body:\n```json\n{\n  \"name\": \"Project Name\",\n  \"description\": \"Project Description\",\n  \"done\": true,\n  \"images\": [\"image1.jpg\", \"image2.jpg\"],\n  \"deployment_url\": \"http://deployment.url\",\n  \"github_url\": \"http://github.url\",\n  \"date\": \"2023-06-22\",\n  \"type\": \"ProjectType\"\n}\n```\n#### Get All Projects\n- URL: /projects\n- Method: GET\n- Response:\n```json\n[\n  {\n    \"id\": 1,\n    \"name\": \"Project Name\",\n    \"description\": \"Project Description\",\n    \"done\": true,\n    \"images\": [\"image1.jpg\", \"image2.jpg\"],\n    \"deployment_url\": \"http://deployment.url\",\n    \"github_url\": \"http://github.url\",\n    \"date\": \"2023-06-22\",\n    \"type\": \"ProjectType\"\n  }\n]\n```\n#### Get a Project by Name\n- URL: /projects/:name\n- Method: GET\n- Response:\n```json\n{\n  \"id\": 1,\n  \"name\": \"Project Name\",\n  \"description\": \"Project Description\",\n  \"done\": true,\n  \"images\": [\"image1.jpg\", \"image2.jpg\"],\n  \"deployment_url\": \"http://deployment.url\",\n  \"github_url\": \"http://github.url\",\n  \"date\": \"2023-06-22\",\n  \"type\": \"ProjectType\"\n}\n```\n#### Update a Project\n- URL: /projects/:id\n- Method: PATCH\n- Request Body:\n```json\n{\n  \"name\": \"Updated Project Name\",\n  \"description\": \"Updated Project Description\",\n  \"done\": true,\n  \"images\": [\"image1.jpg\", \"image2.jpg\"],\n  \"deployment_url\": \"http://updated.deployment.url\",\n  \"github_url\": \"http://updated.github.url\",\n  \"date\": \"2023-06-23\",\n  \"type\": \"UpdatedProjectType\"\n}\n```\n#### Delete a Project\n- URL: /projects/:id\n- Method: DELETE\n\n## Technologies\n\n-   [ ] NestJS\n-   [ ] Typescript\n-   [ ] Prisma\n-   [ ] Class Validator\n-   [ ] Class Transformer\n\n\u003cbr /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandredresch%2Fportfolio-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandredresch%2Fportfolio-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandredresch%2Fportfolio-server/lists"}