{"id":16759077,"url":"https://github.com/hardeep-bit/Customer-SPA","last_synced_at":"2025-11-01T21:30:31.115Z","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":2,"default_branch":"master","last_synced_at":"2025-02-03T05:11:16.579Z","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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239325219,"owners_count":19620250,"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":["angular","cli","expressjs","mongodb","nginx","nodejs"],"created_at":"2024-10-13T04:07:13.160Z","updated_at":"2025-11-01T21:30:31.070Z","avatar_url":"https://github.com/hardeep-bit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"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","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"}