{"id":30685174,"url":"https://github.com/pedroestevaodev/wongames-api","last_synced_at":"2026-04-29T22:34:53.504Z","repository":{"id":189045024,"uuid":"679909231","full_name":"pedroestevaodev/wongames-api","owner":"pedroestevaodev","description":"WonGames API is the backend service for an advanced React-based e-commerce platform for video games. Built with Strapi and PostgreSQL, it manages games, categories, developers, orders, Stripe payments, wishlists, and user profiles. This project is part of the React Avançado course, designed to teach modern React development concepts.","archived":false,"fork":false,"pushed_at":"2026-03-04T18:56:05.000Z","size":352161,"stargazers_count":4,"open_issues_count":12,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-07T21:39:10.023Z","etag":null,"topics":["api","apollo","apollographql","ecommerce","ecommerce-api","fullstack-development","game-store","gaming-api","graphql","headless","headless-cms","javascipt","node","postgres","postgresql","rest-api","strapi","stripe","stripe-payments","typescript-library"],"latest_commit_sha":null,"homepage":"https://wongames-api-94d488d06464.herokuapp.com/admin","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pedroestevaodev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-17T22:43:52.000Z","updated_at":"2025-12-30T03:31:52.000Z","dependencies_parsed_at":"2023-08-18T03:15:58.368Z","dependency_job_id":"29652326-89d0-4e37-8126-120ed6d8ddd1","html_url":"https://github.com/pedroestevaodev/wongames-api","commit_stats":null,"previous_names":["pedro-estevao/react-avancado_landing-page_api","pedro-estevao/wongames-api","pedroestevaodev/wongames-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pedroestevaodev/wongames-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroestevaodev%2Fwongames-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroestevaodev%2Fwongames-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroestevaodev%2Fwongames-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroestevaodev%2Fwongames-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedroestevaodev","download_url":"https://codeload.github.com/pedroestevaodev/wongames-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroestevaodev%2Fwongames-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32446985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: 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","apollo","apollographql","ecommerce","ecommerce-api","fullstack-development","game-store","gaming-api","graphql","headless","headless-cms","javascipt","node","postgres","postgresql","rest-api","strapi","stripe","stripe-payments","typescript-library"],"created_at":"2025-09-01T21:09:05.493Z","updated_at":"2026-04-29T22:34:53.471Z","avatar_url":"https://github.com/pedroestevaodev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WonGames - E-commerce API\n\n\u003cbr/\u003e\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/pedroestevaodev/boilerplate-nextjs/master/public/img/logo.svg\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/pedroestevaodev/boilerplate-nextjs/master/public/img/logo-gh.svg\"\u003e\n  \u003cimg alt=\"Shows an illustrated sun in light mode and a moon with stars in dark mode.\" src=\"https://raw.githubusercontent.com/pedroestevaodev/boilerplate-nextjs/master/public/img/logo.svg\"\u003e\n\u003c/picture\u003e\n\n\u003cbr/\u003e\n\nThis is the API developed with [Strapi](https://strapi.io) to manage data for [WonGames](https://wongames-client-eta.vercel.app/), an e-commerce platform for games created as part of the [React Avançado Course](https://reactavancado.com.br/). The project teaches modern development concepts with React and related technologies.\n\n## 📌 About the Project\n\n\u003cp style=\"text-align: center;\"\u003e\n  \u003ca href=\"https://www.pedroestevao.com\"\u003e\n    \u003cimg src=\"https://res.cloudinary.com/dge3g9rcw/image/upload/v1741210790/github/althy58rnu8ahhjdl3kv.png\" alt=\"illustrative image\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nThe WonGames API is responsible for managing various entities of the e-commerce platform, including:\n\n-   🏆 **Games**: Registering and listing available games.\n-   🎭 **Categories**: Categorizing games by genre and type.\n-   🛍️ **Orders**: Managing user purchases.\n-   💳 **Stripe Integration**: Processing secure payments.\n-   ⭐ **Wishlist**: Custom wishlists for each user.\n-   👤 **User Profiles**: Access control and experience customization.\n\nThis project uses **PostgreSQL** as the database and can be run locally or via **Docker**.\n\n\u003cp style=\"text-align: center;\"\u003e\n  \u003ca href=\"https://www.pedroestevao.com\"\u003e\n    \u003cimg src=\"https://res.cloudinary.com/dge3g9rcw/image/upload/v1741210790/github/h0kuknw2p2rdppb5c53b.png\" alt=\"illustrative image\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n➡️ **Client Repository (e-commerce frontend):** [WonGames Client](https://github.com/pedroestevaodev/wongames-client)\n\n## 👾 Try the Demo!\n\nCurious to see it in action? Experience the full potential of our project by testing the live demo!\n\n🔗 [Try the Demo Now](https://wongames-api-94d488d06464.herokuapp.com/)\n\n- `User`: projetospedroestevao@gmail.com\n- `Password`: Convidado321@\n\n## 🚀 Requirements\n\nTo run the API, you need to have **PostgreSQL** installed or use a **Docker** container. The database configuration can be found in the `config/database.ts`.\n\n## 🔧 Setup and Installation\n\n### 1️. Install dependencies:\n```bash\n$ npm install\n```\n\n### 2️. Create the `.env` file\n\nCreate an `.env` file in the root of the project, or edit if it already exists, similar to the following structure:\n\n```bash\n# Server\nHOST=\"0.0.0.0\"\nPORT=\"1337\"\n\n# Secrets\nAPP_URL=\"tobemodified\"\nAPP_KEYS=\"toBeModified1,toBeModified2\"\nAPI_TOKEN_SALT=\"tobemodified\"\nADMIN_JWT_SECRET=\"tobemodified\"\nTRANSFER_TOKEN_SALT=\"tobemodified\"\n\n# GOG API\nGOG_URL=\"https://www.gog.com\"\nGOG_API_URL=\"https://catalog.gog.com/v1/catalog\"\n\n# Database\nDATABASE_CLIENT=\"postgres\"\nDATABASE_HOST=\"127.0.0.1\"\nDATABASE_PORT=\"5432\"\nDATABASE_NAME=\"tobemodified\"\nDATABASE_USERNAME=\"postgres\"\nDATABASE_PASSWORD=\"tobemodified\"\nDATABASE_SSL=\"false\"\nDATABASE_FILENAME=\nJWT_SECRET=\"tobemodified\"\n\n# Email\nSMTP_HOST=\"tobemodified\"\nSMTP_PORT=\"tobemodified\"\nSMTP_USERNAME=\"tobemodified\"\nSMTP_PASSWORD=\"tobemodified\"\n\n# Stripe\nSTRIPE_KEY=\"tobemodified\"\n```\n\n## 📜 Commands\n\n### `dev`\n\nStart your Strapi application with autoReload enabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-develop)\n\n```bash\n$ npm run dev\n```\n\n### `start`\n\nStart your Strapi application with autoReload disabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-start)\n\n```bash\n$ npm run start\n```\n\n### `build`\n\nBuild your admin panel. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-build)\n\n```bash\n$ npm run build\n```\n\n## ☁️ Deployment\n\nStrapi gives you many possible deployment options for your project including [Strapi Cloud](https://cloud.strapi.io). Browse the [deployment section of the documentation](https://docs.strapi.io/dev-docs/deployment) to find the best solution for your use case.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedroestevaodev%2Fwongames-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedroestevaodev%2Fwongames-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedroestevaodev%2Fwongames-api/lists"}