From 1e0cd1f0136016feab8ac8eaa265aa52d23a73b5 Mon Sep 17 00:00:00 2001 From: Nicolas Guerrero Date: Mon, 16 Dec 2024 21:07:08 -0300 Subject: [PATCH 1/5] fix: replace broken links with new ones and remove references to deleted examples in examples.md --- en/starter/examples.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/en/starter/examples.md b/en/starter/examples.md index 275e98ca54..c619285949 100755 --- a/en/starter/examples.md +++ b/en/starter/examples.md @@ -16,10 +16,7 @@ These are some additional examples with more extensive integrations. {% include community-caveat.html %} -- [prisma-express-graphql](https://github.com/prisma/prisma-examples/tree/latest/typescript/graphql-express) - GraphQL API with `express-graphql` using [Prisma](https://www.npmjs.com/package/prisma) as an ORM -- [prisma-fullstack](https://github.com/prisma/prisma-examples/tree/latest/typescript/rest-nextjs-express) - Fullstack app with Next.js using [Prisma](https://www.npmjs.com/package/prisma) as an ORM -- [prisma-rest-api-js](https://github.com/prisma/prisma-examples/tree/latest/javascript/rest-express) - REST API with Express in JavaScript using [Prisma](https://www.npmjs.com/package/prisma) as an ORM -- [prisma-rest-api-ts](https://github.com/prisma/prisma-examples/tree/latest/typescript/rest-express) - REST API with Express in TypeScript using [Prisma](https://www.npmjs.com/package/prisma) as an ORM +- [prisma-fullstack](https://github.com/prisma/prisma-examples/tree/latest/pulse/fullstack-simple-chat) - Fullstack app with Express and Next.js using [Prisma](https://www.npmjs.com/package/prisma) as an ORM +- [prisma-rest-api-ts](https://github.com/prisma/prisma-examples/tree/latest/orm/express) - REST API with Express in TypeScript using [Prisma](https://www.npmjs.com/package/prisma) as an ORM - -### [Previous: Static Files ](/{{ page.lang }}/starter/static-files.html)    [Next: FAQ ](/{{ page.lang }}/starter/faq.html) +### [Previous: Static Files ](/{{ page.lang }}/starter/static-files.html)    [Next: FAQ ](/{{ page.lang }}/starter/faq.html) From 7728c2673a19bb41f685eb6381442bdd01cbfa55 Mon Sep 17 00:00:00 2001 From: Nicolas Guerrero Date: Mon, 16 Dec 2024 21:31:09 -0300 Subject: [PATCH 2/5] feat: translate the examples.md page to pt-br --- pt-br/starter/examples.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pt-br/starter/examples.md diff --git a/pt-br/starter/examples.md b/pt-br/starter/examples.md new file mode 100644 index 0000000000..14e56527a9 --- /dev/null +++ b/pt-br/starter/examples.md @@ -0,0 +1,22 @@ +--- +layout: page +title: Exemplos do Express +description: Explore uma coleção de exemplos de aplicações em Express.js cobrindo diversos casos de uso, integrações e configurações avançadas para te ajudar a aprender e construir seus projetos. +menu: starter +lang: pt-br +redirect_from: "/starter/examples.html" +--- + +{% capture examples %}{% include readmes/express-master/examples.md %}{% endcapture %} +{{ examples | replace: "](.", "](https://github.com/expressjs/express/tree/master/examples" }} + +## Exemplos adicionais + +Estes são alguns exemplos adicionais com integrações mais extensas. + +{% include community-caveat.html %} + +- [prisma-fullstack](https://github.com/prisma/prisma-examples/tree/latest/pulse/fullstack-simple-chat) - Aplicativo Fullstack com Express e Next.js utilizando [Prisma](https://www.npmjs.com/package/prisma) como ORM +- [prisma-rest-api-ts](https://github.com/prisma/prisma-examples/tree/latest/orm/express) - API REST com Express em TypeScript utilizando [Prisma](https://www.npmjs.com/package/prisma) como ORM + +### [Anterior: Arquivos Estáticos ](/{{ page.lang }}/starter/static-files.html)    [Próximo: Perguntas mais frequentes ](/{{ page.lang }}/starter/faq.html) From 1954bd5bd136a219b561ae038995631ff498a4d0 Mon Sep 17 00:00:00 2001 From: Nicolas Guerrero Date: Mon, 16 Dec 2024 21:32:06 -0300 Subject: [PATCH 3/5] feat: list the examples page in the header-pt-br.html file --- _includes/header/header-pt-br.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_includes/header/header-pt-br.html b/_includes/header/header-pt-br.html index 62a64faa25..fbec9ad698 100644 --- a/_includes/header/header-pt-br.html +++ b/_includes/header/header-pt-br.html @@ -36,6 +36,11 @@ Arquivos Estáticos +
  • + + Mais Exemplos + +
  • Perguntas mais frequentes From 044531e72053f51637ef6a3d251d7559033ca436 Mon Sep 17 00:00:00 2001 From: Nicolas Guerrero Date: Fri, 10 Jan 2025 18:22:13 -0300 Subject: [PATCH 4/5] refactor: remove the more-examples item from the header-pt-br Please, find the #1724 PR, where the items for the page are being added to all supported languages. --- _includes/header/header-pt-br.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/_includes/header/header-pt-br.html b/_includes/header/header-pt-br.html index 34a989c248..0dc280109b 100644 --- a/_includes/header/header-pt-br.html +++ b/_includes/header/header-pt-br.html @@ -36,11 +36,6 @@ Arquivos Estáticos
  • -
  • - - Mais Exemplos - -
  • Perguntas mais frequentes From 1f017be9f98cd654692a6db5bd53ceb2d2b2f6d1 Mon Sep 17 00:00:00 2001 From: Nicolas Guerrero Date: Fri, 10 Jan 2025 18:28:31 -0300 Subject: [PATCH 5/5] fix: update the broken urls with correct ones in the indonesian examples page --- id/starter/examples.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/id/starter/examples.md b/id/starter/examples.md index af373541fb..ce8ced596f 100755 --- a/id/starter/examples.md +++ b/id/starter/examples.md @@ -3,7 +3,8 @@ layout: page title: Contoh Penggunaan Express menu: starter lang: id -description: Explore a collection of Express.js application examples covering various +description: + Explore a collection of Express.js application examples covering various use cases, integrations, and advanced configurations to help you learn and build your projects. --- @@ -17,10 +18,7 @@ Ini adalah beberapa contoh tambahan penggunaan Express dengan integrasi yang leb {% include community-caveat.html %} -- [prisma-express-graphql](https://github.com/prisma/prisma-examples/tree/latest/typescript/graphql-express) - GraphQL API dengan `express-graphql` menggunakan [Prisma](https://www.npmjs.com/package/prisma) sebagai ORM -- [prisma-fullstack](https://github.com/prisma/prisma-examples/tree/latest/typescript/rest-nextjs-express) - Aplikasi fullstack dengan Next.js menggunakan [Prisma](https://www.npmjs.com/package/prisma) sebagai ORM -- [prisma-rest-api-js](https://github.com/prisma/prisma-examples/tree/latest/javascript/rest-express) - REST API dengan Express dalam JavaScript menggunakan [Prisma](https://www.npmjs.com/package/prisma) sebagai ORM -- [prisma-rest-api-ts](https://github.com/prisma/prisma-examples/tree/latest/typescript/rest-express) - REST API dengan Express dalam TypeScript menggunakan [Prisma](https://www.npmjs.com/package/prisma) sebagai ORM +- [prisma-fullstack](https://github.com/prisma/prisma-examples/tree/latest/pulse/fullstack-simple-chat) - Aplikasi fullstack dengan Next.js menggunakan [Prisma](https://www.npmjs.com/package/prisma) sebagai ORM +- [prisma-rest-api-ts](https://github.com/prisma/prisma-examples/tree/latest/orm/express) - REST API dengan Express dalam TypeScript menggunakan [Prisma](https://www.npmjs.com/package/prisma) sebagai ORM - -### [Previous: Static Files ](/{{ page.lang }}/starter/static-files.html)    [Next: FAQ ](/{{ page.lang }}/starter/faq.html) +### [Previous: Static Files ](/{{ page.lang }}/starter/static-files.html)    [Next: FAQ ](/{{ page.lang }}/starter/faq.html)