{"id":17190402,"url":"https://github.com/theworkflow/cincity","last_synced_at":"2025-03-25T05:53:30.457Z","repository":{"id":13892912,"uuid":"16591240","full_name":"theworkflow/cincity","owner":"theworkflow","description":null,"archived":false,"fork":false,"pushed_at":"2014-02-10T19:45:39.000Z","size":444,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-23T01:36:00.433Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theworkflow.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":"2014-02-06T19:42:09.000Z","updated_at":"2023-03-23T01:36:00.434Z","dependencies_parsed_at":"2022-08-23T14:51:38.241Z","dependency_job_id":null,"html_url":"https://github.com/theworkflow/cincity","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theworkflow%2Fcincity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theworkflow%2Fcincity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theworkflow%2Fcincity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theworkflow%2Fcincity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theworkflow","download_url":"https://codeload.github.com/theworkflow/cincity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245407763,"owners_count":20610232,"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-10-15T01:22:28.752Z","updated_at":"2025-03-25T05:53:30.440Z","avatar_url":"https://github.com/theworkflow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MEAN Stack CinCity\n====================\n\nMEAN is a boilerplate that provides a nice starting point for [MongoDB](http://www.mongodb.org/), [Node.js](http://www.nodejs.org/), [Express](http://expressjs.com/), and [AngularJS](http://angularjs.org/) based applications. It is designed to give you quick and organized way to start developing of MEAN based web apps with useful modules like mongoose and passport pre-bundled and configured. We mainly try to take care of the connection points between existing popular frameworks and solve common integration problems.  \n\n## Prerequisites\n* Node.js - Download and Install [Node.js](http://www.nodejs.org/download/). You can also follow [this gist](https://gist.github.com/isaacs/579814) for a quick and easy way to install Node.js and npm\n* MongoDB - Download and Install [MongoDB](http://www.mongodb.org/downloads) - Make sure it's running on the default port (27017).\n\n### Tools Prerequisites\n* NPM - Node.js package manager, should be installed when you install node.js.\n* Bower - Web package manager, installing [Bower](http://bower.io/) is simple when you have npm:\n\n```\n$ npm install -g bower\n```\n\n### Optional\n* Grunt - Download and Install [Grunt](http://gruntjs.com).\n\n## Additional Packages\n* Express - Defined as npm module in the [package.json](package.json) file.\n* Mongoose - Defined as npm module in the [package.json](package.json) file.\n* Passport - Defined as npm module in the [package.json](package.json) file.\n* AngularJS - Defined as bower module in the [bower.json](bower.json) file.\n* Twitter Bootstrap - Defined as bower module in the [bower.json](bower.json) file.\n* UI Bootstrap - Defined as bower module in the [bower.json](bower.json) file.\n\n## Quick Install\n  The quickest way to get started with MEAN is to clone the project and utilize it like this:\n\n  Install dependencies:\n\n    $ npm install\n\n  We recommend using [Grunt](https://github.com/gruntjs/grunt-cli) to start the server:\n\n    $ grunt\n    \n  When not using grunt you can use:\n\n    $ node server\n    \n  Then open a browser and go to:\n\n    http://localhost:3000\n\n\n## Troubleshooting\nDuring install some of you may encounter some issues, most of this issues can be solved by one of the following tips.\nIf you went through all this and still can't solve the issue, feel free to contact me(Amos), via the repository issue tracker or the links provided below.\n\n#### Update NPM, Bower or Grunt\nSometimes you may find there is a weird error during install like npm's *Error: ENOENT*, usually updating those tools to the latest version solves the issue.\n\nUpdating NPM:\n```\n$ npm update -g npm\n```\n\nUpdating Grunt:\n```\n$ npm update -g grunt-cli\n```\n\nUpdating Bower:\n```\n$ npm update -g bower\n```\n\n#### Cleaning NPM and Bower cache\nNPM and Bower has a caching system for holding packages that you already installed.\nWe found that often cleaning the cache solves some troubles this system creates.\n\nNPM Clean Cache:\n```\n$ npm cache clean\n```\n\nBower Clean Cache:\n```\n$ bower cache clean\n```\n\n \n## Configuration\nAll configuration is specified in the [config](config/) folder, particularly the [config.js](config/config.js) file and the [env](config/env/) files. Here you will need to specify your application name, database name, as well as hook up any social app keys if you want integration with Twitter, Facebook, GitHub or Google.\n\n### Environmental Settings\n\nThere are three environments provided by default, __development__, __test__, and __production__. Each of these environments has the following configuration options:\n* __db__ - This is the name of the MongoDB database to use, and is set by default to __mean-dev__ for the development environment.\n* __app.name__ - This is the name of your app or website, and can be different for each environment. You can tell which environment you are running by looking at the TITLE attribute that your app generates.\n* __Social OAuth Keys__ - Facebook, GitHub, Google, Twitter. You can specify your own social application keys here for each platform:\n\t* __clientID__\n\t* __clientSecret__\n\t* __callbackURL__\n\nTo run with a different environment, just specify NODE_ENV as you call grunt:\n\n\t$ NODE_ENV=test grunt\n\nIf you are using node instead of grunt, it is very similar:\n\n\t$ NODE_ENV=test node server\n\n\u003e NOTE: Running Node.js applications in the __production__ environment enables caching, which is disabled by default in all other environments.\n\n## Getting Started\n  We pre-included an article example, check it out:\n  * [The Model](https://github.com/linnovate/mean/blob/master/app/models/article.js) - Where we define our object schema.\n  * [The Controller](https://github.com/linnovate/mean/blob/master/app/controllers/articles.js) - Where we take care of our backend logic.\n  * [NodeJS Routes](https://github.com/linnovate/mean/blob/master/config/routes.js) - Where we define our REST service routes.\n  * [AngularJs Routes](https://github.com/linnovate/mean/blob/master/public/js/config.js) - Where we define our CRUD routes.\n  * [The AngularJs Service](https://github.com/linnovate/mean/blob/master/public/js/services/articles.js) - Where we connect to our REST service.\n  * [The AngularJs Controller](https://github.com/linnovate/mean/blob/master/public/js/controllers/articles.js) - Where we take care of  our frontend logic.\n  * [The AngularJs Views Folder](https://github.com/linnovate/mean/blob/master/public/views/articles) - Where we keep our CRUD views.\n\n## Heroku Quick Deployment\nBefore you start make sure you have \u003ca href=\"https://toolbelt.heroku.com/\"\u003eheroku toolbelt\u003c/a\u003e installed and an accessible mongo db instance - you can try \u003ca href=\"http://www.mongohq.com/\"\u003emongohq\u003c/a\u003e which have an easy setup )\n\n```bash\ngit init\ngit add .\ngit commit -m \"initial version\"\nheroku apps:create\ngit push heroku master\n```\n\n## More Information\n  * Contact Amos Haviv on any issue via [E-Mail](mailto:mail@amoshaviv.com), [Facebook](http://www.facebook.com/amoshaviv), or [Twitter](http://www.twitter.com/amoshaviv).\n  * Visit us at [Linnovate.net](http://www.linnovate.net/).\n  * Visit our [Ninja's Zone](http://www.meanleanstartupmachine.com/) for extended support.\n\n## Credits\nInspired by the great work of [Madhusudhan Srinivasa](https://github.com/madhums/)\n\n## License\n(The MIT License)\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheworkflow%2Fcincity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheworkflow%2Fcincity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheworkflow%2Fcincity/lists"}