{"id":25888132,"url":"https://github.com/codeluminary/pern-stack-based-ecommerce","last_synced_at":"2025-03-02T18:30:41.900Z","repository":{"id":53855907,"uuid":"422729060","full_name":"CodeLuminary/pern-stack-based-ecommerce","owner":"CodeLuminary","description":"This is a basic e-commerce  implementation using React, node and postgre","archived":false,"fork":false,"pushed_at":"2022-04-10T20:41:07.000Z","size":3187,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-07T08:56:49.745Z","etag":null,"topics":["expressjs","jest-tests","nodejs","postgresql","react","reactjs","redux","reduxtoolkit","test-driven-development"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/CodeLuminary.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}},"created_at":"2021-10-29T22:34:10.000Z","updated_at":"2022-12-02T17:57:24.000Z","dependencies_parsed_at":"2022-08-23T08:10:25.300Z","dependency_job_id":null,"html_url":"https://github.com/CodeLuminary/pern-stack-based-ecommerce","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeLuminary%2Fpern-stack-based-ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeLuminary%2Fpern-stack-based-ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeLuminary%2Fpern-stack-based-ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeLuminary%2Fpern-stack-based-ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeLuminary","download_url":"https://codeload.github.com/CodeLuminary/pern-stack-based-ecommerce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241551378,"owners_count":19980947,"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":["expressjs","jest-tests","nodejs","postgresql","react","reactjs","redux","reduxtoolkit","test-driven-development"],"created_at":"2025-03-02T18:30:41.213Z","updated_at":"2025-03-02T18:30:41.877Z","avatar_url":"https://github.com/CodeLuminary.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Ecommerce website using Postgre, express, react and Node\n\n## Start Development\n\nKindly fork and clone the repo \n\n## Installation\n\n### FRONTEND INSTALLATION\n\ncd or navigate to the frontend folder in your terminal and enter the following command \n\n```\nnpm install\n```\n### BACKEND INSTALLATION\n\ncd or navigate to the backend folder in your terminal and enter the following command\n\n``` \nnpm install\n```\n\n## Setup\n\nCreate a .env file in the root directory of the backend folder and add the following properties\n\n```markdown\nPORT=?\nDB_PORT = ?\nDB_USER = ?\nDB_HOST = ?\nDB_DATABASE = ?\nDB_PASSWORD = ?\n#Set timezone, put 1 if it's GMT+1 or -1 if it's GMT-1\nTIME_ZONE = ?\nSKIP_PREFLIGHT_CHECK=true \n# You can set frontend url to any other url\nFRONT_END_URL=http://localhost:3000 \n```\n\n## STARTING PROJECT\n\n### STARTING FRONTEND PROJECT\n\ncd to the frontend folder in your terminal and enter the following command\n\n```\nnpm start\n```\n\nYou can access the project in your browser by entering - `localhost:3000`\n\n#### To set homepage to show products from local backend:\n\nchange the value of REACT_APP_PRODUCT_URL \u0026 REACT_APP_DOMAIN_URL in the .env file inside the frontend folder to your local backend url\n\n```\nREACT_APP_PRODUCT_URL=https://fakestoreapi.com/products\n\nREACT_APP_BACKEND_URL=http://localhost:5000\n```\n\n\n### STARTING BACKEND PROJECT\n\ncd to the backend folder in your terminal and enter the following command\n\n```\n\n#This is to run all test and make sure database connection is working and tables are created\n#See test folder inside the backend folder for more info.\n\nnpm run test\n```\n\n```\nnpm start\n```\n\n## 🎩 Author\n\n- IJONI VICTOR 😁😁😁\n\n\u003e Don't forget to star the project 😁😁 . Thanks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeluminary%2Fpern-stack-based-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeluminary%2Fpern-stack-based-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeluminary%2Fpern-stack-based-ecommerce/lists"}