{"id":16419556,"url":"https://github.com/fl4viooliveira/4devbydev","last_synced_at":"2025-03-23T07:31:45.512Z","repository":{"id":39626069,"uuid":"487350309","full_name":"fl4viooliveira/4devbydev","owner":"fl4viooliveira","description":"This project intends to be an appliable e-commerce application with a deployed website from this repository.","archived":false,"fork":false,"pushed_at":"2023-03-30T11:06:31.000Z","size":182,"stargazers_count":20,"open_issues_count":6,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T18:44:29.870Z","etag":null,"topics":["e-commerce","expressjs","fullstack-javascript","javascript","mern-stack","mongodb","monorepo","nextjs","nodejs","open-source","printondemand","reactjs","typescript"],"latest_commit_sha":null,"homepage":"https://4devbydev.vercel.app/","language":"JavaScript","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/fl4viooliveira.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"github":"fl4viooliveira","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-04-30T18:17:12.000Z","updated_at":"2024-12-23T05:47:39.000Z","dependencies_parsed_at":"2024-10-28T15:28:31.745Z","dependency_job_id":"8d6c7182-d4e9-478a-9fcf-90509cd7b418","html_url":"https://github.com/fl4viooliveira/4devbydev","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fl4viooliveira%2F4devbydev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fl4viooliveira%2F4devbydev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fl4viooliveira%2F4devbydev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fl4viooliveira%2F4devbydev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fl4viooliveira","download_url":"https://codeload.github.com/fl4viooliveira/4devbydev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245071808,"owners_count":20556352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["e-commerce","expressjs","fullstack-javascript","javascript","mern-stack","mongodb","monorepo","nextjs","nodejs","open-source","printondemand","reactjs","typescript"],"created_at":"2024-10-11T07:24:55.149Z","updated_at":"2025-03-23T07:31:45.070Z","avatar_url":"https://github.com/fl4viooliveira.png","language":"JavaScript","readme":"\u003c!---\n\u003cp align=\"center\"\u003e\n\u003cimg  width=\"300\" height=\"150\" src=\"https://4devbydev.com/logo.svg\" src=\"https://4devbydev.com\"/\u003e\n\u003c/p\u003e\n--\u003e\n\n\u003cp align='center'\u003e\n\u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/fl4viooliveira/4devbydev?style=social\"\u003e\n\u003cimg alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues-raw/fl4viooliveira/4devbydev?style=social\"\u003e\n\u003cimg alt=\"GitHub pull requests\" src=\"https://img.shields.io/github/issues-pr-raw/fl4viooliveira/4devbydev?style=social\"\u003e\n\u003cimg alt=\"GitHub closed pull requests\" src=\"https://img.shields.io/github/issues-pr-closed-raw/fl4viooliveira/4devbydev?style=social\"\u003e\n\u003cimg src=\"https://img.shields.io/github/languages/code-size/fl4viooliveira/4devbydev\" /\u003e\n\u003c/p\u003e\n\n\u003chr class=\"dotted\"\u003e\n\n### About this Project:\n\nIt is an E-commerce application built using Next.js, and MongoDB. It consumes the Printful API and uses Stripe as a payment system.\n\nThe application consumes print-on-demand API by \u003ca href='https://www.printful.com/'\u003ePrintful\u003c/a\u003e and can be helpful as a tool for freelancers or a print-on-demand startup business.  \nFeel free to use it wherever you want. I'll be happy if you provide any feedback or suggestions.\n\n### About the Printful API\n\nThe Printful API is a RESTful API, that uses an HTTP protocol for communication. HTTP GET, POST, PUT and DELETE methods are used to access the API resources.\n\n\u003cp align=\"center\"\u003e\n\u003cimg  width=\"300\" height=\"150\" src=\"https://static.cdn.printful.com/dist-pf/image-assets/off-center-full-color-black.1de1e822b15b8e74075c8d1fa631d4e3.svg\" src=\"https://developers.printful.com/docs/\"/\u003e\n\u003c/p\u003e\n\n\u003ca href='https://developers.printful.com/docs/'\u003eAPI Documentation | Printful (1.0)\u003c/a\u003e\n\n\u003chr class=\"dotted\"\u003e\n\n### Getting Started with Printful\n\n- Visit \u003ca href='https://www.printful.com/'\u003eprintful.com\u003c/a\u003e and create an account.\n- On your account create a new store, choose \"Manual order platform / API\" as your method.\n- On your store create some text products.\n- After have a store and some products, visit \u003ca href='https://developers.printful.com/docs/'\u003ehttps://developers.printful.com/docs\u003c/a\u003e to view the full documentation.\n- To conclude got to Developers Printful page visiting \u003ca href='https://developers.printful.com/login/'\u003ehttps://developers.printful.com/login\u003c/a\u003e and create your Private token.\n\n\u003chr class=\"dotted\"\u003e\n\n### Create a Stripe account\n\n- Visit \u003ca href='https://www.stripe.com/'\u003estripe.com\u003c/a\u003e and create an account.\n- Activate the Test mode and get your \"Publishable key\" and \"Secret key\"\n- Visit \u003ca href='https://stripe.com/docs'\u003ehttps://stripe.com/docs\u003c/a\u003e to view the full documentation.\n\n\u003chr class=\"dotted\"\u003e\n\n### To Install:\n\nCloning the Repository:\n\n```\n$ git clone https://github.com/fl4viooliveira/4devbydev.git\n$ cd 4devbydev\n```\n\nOn root folder create a \u003cb\u003e.env.local\u003c/b\u003e file and install.\n\n```\nSTRIPE_KEY =\nFRONTEND_APP_URL=\nPRINTIFUL_KEY=\nPRINTFUL_PRODUCTS=\"https://api.printful.com/store/products\"\nPRINTIFUL_KEY=\nNEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=\nNEXT_PUBLIC_BASE_URL =\nNEXT_PUBLIC_DEVELOPMENT = true\n```\n\nInstall and run:\n\n```\n$ npm install\n$ npm run dev\n```\n\n\u003chr class=\"dotted\"\u003e\n\n### Test Stripe payment:\n\nTo confirm that your integration works correctly, simulate transactions without moving any money, using special values in test mode.\n\n- Complete the shopping flow and click on checkout button.\n- Confirm the shipping address\n- Click on Conclude the Payment button and fill up it.\n- Use the test card number 4242 4242 4242 4242.\n- Use a valid future date.\n- Use any three-digit CVC\n- Click to pay and wait to success page with the invoice link.\n\n\u003chr class=\"dotted\"\u003e\n\n#### Connect with me at:\n\n\u003cp align='center'\u003e\n    \n  \u003ca href=\"https://www.linkedin.com/in/fl4viooliveira/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/linkedin-%230077B5.svg?\u0026style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\" /\u003e\n  \u003c/a\u003e\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"https://stackoverflow.com/users/13045151/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/stackoverflow-%23E4405F.svg?\u0026style=for-the-badge\u0026logo=stackoverflow\u0026logoColor=white\" /\u003e        \n  \u003c/a\u003e\u0026nbsp;\u0026nbsp;\n  \n\u003c/p\u003e\n\n\u003cp align='center'\u003e\n  📫 How to reach me: \u003ca href='mailto:fl4viooliveira@gmail.com'\u003efl4viooliveira@gmail.com\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align='center'\u003e\n  \u003cimg alt=\"GitHub forks\" src=\"https://img.shields.io/github/forks/fl4viooliveira/4devbydev?style=social\"\u003e\n  \u003cimg alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/fl4viooliveira/4devbydev?style=social\"\u003e\n  \u003cimg alt=\"GitHub watchers\" src=\"https://img.shields.io/github/watchers/fl4viooliveira/4devbydev?style=social\"\u003e \n\u003c/p\u003e\n\n\u003cp align='center'\u003e\n\u003cimg alt=\"MIT license\" src=\"https://img.shields.io/github/license/fl4viooliveira/4devbydev?style=for-the-badge\"\u003e\n\u003c/p\u003e\n\n\u003chr class=\"dotted\"\u003e\n","funding_links":["https://github.com/sponsors/fl4viooliveira"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffl4viooliveira%2F4devbydev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffl4viooliveira%2F4devbydev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffl4viooliveira%2F4devbydev/lists"}