{"id":27236573,"url":"https://github.com/hardeep-bit/customer-spa","last_synced_at":"2025-08-24T12:33:48.737Z","repository":{"id":50751894,"uuid":"100948721","full_name":"hardeep-bit/Customer-SPA","owner":"hardeep-bit","description":"Single Page MEAN Stack Application","archived":false,"fork":false,"pushed_at":"2021-05-31T06:50:48.000Z","size":35,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T17:34:30.544Z","etag":null,"topics":["angular","cli","expressjs","mongodb","nginx","nodejs"],"latest_commit_sha":null,"homepage":"","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/hardeep-bit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-21T12:11:49.000Z","updated_at":"2019-07-03T20:24:26.000Z","dependencies_parsed_at":"2022-09-02T20:11:50.883Z","dependency_job_id":null,"html_url":"https://github.com/hardeep-bit/Customer-SPA","commit_stats":null,"previous_names":["hardeep-bit/customer-spa"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hardeep-bit/Customer-SPA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardeep-bit%2FCustomer-SPA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardeep-bit%2FCustomer-SPA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardeep-bit%2FCustomer-SPA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardeep-bit%2FCustomer-SPA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardeep-bit","download_url":"https://codeload.github.com/hardeep-bit/Customer-SPA/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardeep-bit%2FCustomer-SPA/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271863643,"owners_count":24835837,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angular","cli","expressjs","mongodb","nginx","nodejs"],"created_at":"2025-04-10T17:14:23.002Z","updated_at":"2025-08-24T12:33:48.688Z","avatar_url":"https://github.com/hardeep-bit.png","language":"TypeScript","readme":"# Customer-SPA\n### Single Page MEAN Stack Application\n\n## What you need is Latest version of following things -\n- Node JS  7.8.0\n- Angular, So that we can use Angular-cli\n- MongoDB  3.4.4\n- Nginx, So that we make Routing\n\n## How to Start -\n- Start Nginx with this configuration i.e,\n ```sh\nserver {\n    listen 98;\n    \n    location / api / {\n        proxy_pass http: //localhost:3000/api/;\n            proxy_read_timeout 120 s;\n        proxy_set_header X - Forwarded - Host $host;\n        proxy_set_header X - Forwarded - Server $host;\n        proxy_set_header X - Forwarded - For $proxy_add_x_forwarded_for;\n    }\n    location / {\n\n        proxy_pass http: //localhost:3001;\n            proxy_read_timeout 120 s;\n        proxy_set_header X - Forwarded - Host $host;\n        proxy_set_header X - Forwarded - Server $host;\n        proxy_set_header X - Forwarded - For $proxy_add_x_forwarded_for;\n    }\n}\n```\n- Start MongoDB Server which will be Running on PORT 27017\n- Now Go in Customer-SPA folder and Run the Command `npm install`,\n\n  when this is done then Run Command node app.js.\n  \n  So your Server is Running on Port 3000 Successfully.\n  \n  This will be Printed on Console  `listening on 3000`.\n  \n- So Till now we have setup the Server Part.Going forward on UI Part,\n\n  go to the folder of customer-Ui with CLI and Run Command `ng Serve`.\n  \n- Now open your chrome and open localhost:98 ( which we have set in NGINX )\n\n#### You can now play with UI and The API's of Customer-Single Page Application\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardeep-bit%2Fcustomer-spa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardeep-bit%2Fcustomer-spa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardeep-bit%2Fcustomer-spa/lists"}