From 8b8bc84561668e2302be8bfba0668c7df091c242 Mon Sep 17 00:00:00 2001 From: Nicolas Guerrero Date: Mon, 13 Jan 2025 12:55:43 -0300 Subject: [PATCH] Fix broken urls in the examples page and translate the page to pt-BR (#1717) * fix: replace broken links with new ones and remove references to deleted examples in examples.md * feat: translate the examples.md page to pt-br * feat: list the examples page in the header-pt-br.html file * 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. * fix: update the broken urls with correct ones in the indonesian examples page --- en/starter/examples.md | 9 +++------ id/starter/examples.md | 12 +++++------- pt-br/starter/examples.md | 22 ++++++++++++++++++++++ 3 files changed, 30 insertions(+), 13 deletions(-) create mode 100644 pt-br/starter/examples.md 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) 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) 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)