{"id":20762226,"url":"https://github.com/pawsong/angular-simple-server","last_synced_at":"2026-04-28T04:01:51.830Z","repository":{"id":29918483,"uuid":"33464372","full_name":"pawsong/angular-simple-server","owner":"pawsong","description":"Simple server that supports SEO and html5mode rewriting","archived":false,"fork":false,"pushed_at":"2015-05-06T03:35:53.000Z","size":256,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-26T03:04:27.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pawsong.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":"2015-04-06T03:08:24.000Z","updated_at":"2019-06-26T08:55:31.000Z","dependencies_parsed_at":"2022-09-09T19:01:27.814Z","dependency_job_id":null,"html_url":"https://github.com/pawsong/angular-simple-server","commit_stats":null,"previous_names":["gifff/angular-simple-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawsong%2Fangular-simple-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawsong%2Fangular-simple-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawsong%2Fangular-simple-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawsong%2Fangular-simple-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pawsong","download_url":"https://codeload.github.com/pawsong/angular-simple-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243079093,"owners_count":20232933,"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":[],"created_at":"2024-11-17T10:32:14.475Z","updated_at":"2025-12-26T04:10:45.691Z","avatar_url":"https://github.com/pawsong.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-simple-server\n\n  Simple server that supports SEO and html5mode rewriting\n\n  [![Build Status][travis-image]][travis-url]\n\n## Prerequisite\n\n  You should have a running static server for AngularJS application codes! (ex. aws s3)\n\n## Features\n\n  * Html5mode rewriting\n  * SEO support\n    - Using [Prerender](https://prerender.io)\n    - Refer to [Google documentation](https://developers.google.com/webmasters/ajax-crawling/docs/specification)\n  * Deployment\n    - Using [pm2 deployment system](https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#deployment)\n    - Automated as a grunt task `grunt deploy`\n\n## Usage\n\n### Minimal Usage\n\n```shell\n$ git clone https://github.com/gifff/angular-simple-server\n$ cd angular-simple-server\n$ npm install\n$ PRERENDER_SERVICE_URL=http://localhost:3000 node server\n```\n\n### Advanced Usage\n\n#### Show available tasks\n\n```shell\n$ grunt\n```\n\n#### Run server\n\n```shell\n$ node server\n$ # OR\n$ grunt serve # run by nodemon\n```\n\n#### Deploy\n\n```shell\n$ cp ecosystem.json.sample ecosystem.json\n$ vim ecosystem.json\n$ grunt deploy:production\n```\n\n#### Extension\n\n  Implement more features in `extension.js` file\n\n## Configurations\n\nConfigurations can be set with\n  \n- Local file `config.js` (NODE_ENV value will be used as env)\n- Environment variables.\n\nLocal file is used over env variables.\n\n#### NG_PRERENDER_SERVICE_URL\n\n  Default: ''\n\n  - Prerender server URL for SEO support. If omitted, SEO support will be disabled\n  - Prerender-hosted service url is `http://service.prerender.io/`\n\n#### NG_PROXY_TARGET\n\n  Default: `http://0.0.0.0:9000`\n\n  - URL of a static server for AngularJS application codes\n  - Can use aws s3 bucket when static website hosting feature is enabled\n\n#### NG_SERVER_PORT\n\n  Default: 8000\n\n  - Port of angular-simple-server\n\n## License\n\n  [MIT](LICENSE)\n\n[travis-image]: https://travis-ci.org/gifff/angular-simple-server.svg?branch=master\n[travis-url]: https://travis-ci.org/gifff/angular-simple-server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawsong%2Fangular-simple-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpawsong%2Fangular-simple-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawsong%2Fangular-simple-server/lists"}