{"id":13989989,"url":"https://github.com/rodrigogs/nodejs-web-jade-scaffold","last_synced_at":"2025-12-25T16:07:54.136Z","repository":{"id":81617746,"uuid":"48543584","full_name":"rodrigogs/nodejs-web-jade-scaffold","owner":"rodrigogs","description":"Web application featuring Node.js, Express, Jade, Passport, MongoDB and Bootstrap","archived":false,"fork":false,"pushed_at":"2016-10-10T05:29:32.000Z","size":167,"stargazers_count":168,"open_issues_count":0,"forks_count":13,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-29T09:39:52.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://nodejs-web-jade-scaffold.herokuapp.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodrigogs.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-12-24T13:23:40.000Z","updated_at":"2023-10-13T14:58:50.000Z","dependencies_parsed_at":"2023-03-06T01:15:22.847Z","dependency_job_id":null,"html_url":"https://github.com/rodrigogs/nodejs-web-jade-scaffold","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rodrigogs/nodejs-web-jade-scaffold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigogs%2Fnodejs-web-jade-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigogs%2Fnodejs-web-jade-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigogs%2Fnodejs-web-jade-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigogs%2Fnodejs-web-jade-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodrigogs","download_url":"https://codeload.github.com/rodrigogs/nodejs-web-jade-scaffold/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigogs%2Fnodejs-web-jade-scaffold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28032367,"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-12-25T02:00:05.988Z","response_time":58,"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":[],"created_at":"2024-08-09T13:02:14.509Z","updated_at":"2025-12-25T16:07:54.097Z","avatar_url":"https://github.com/rodrigogs.png","language":"JavaScript","readme":"# Node.js Web Jade Scaffold\n\n[![Build Status](https://travis-ci.org/rodrigogs/nodejs-web-jade-scaffold.svg?branch=master)](https://travis-ci.org/rodrigogs/nodejs-web-jade-scaffold)\n[![Code Climate](https://codeclimate.com/github/rodrigogs/nodejs-web-jade-scaffold/badges/gpa.svg)](https://codeclimate.com/github/rodrigogs/nodejs-web-jade-scaffold)\n[![Dependency Status](https://david-dm.org/rodrigogs/nodejs-web-jade-scaffold.svg)](https://david-dm.org/rodrigogs/nodejs-web-jade-scaffold)\n[![devDependency Status](https://david-dm.org/rodrigogs/nodejs-web-jade-scaffold/dev-status.svg)](https://david-dm.org/rodrigogs/nodejs-web-jade-scaffold#info=devDependencies)\n\n## Structure\n```\nproject\n├── app\n│   ├── controllers\n│   │   ├── api\n│   │   │   └── example.js\n│   │   └── example.js\n│   │\n│   ├── models\n│   │   └── example.js\n│   │\n│   ├── public\n│   │   ├── javascript\n│   │   │   └── example.js\n│   │   └── stylesheets\n│   │       └── example.css\n│   │\n│   ├── routes\n│   │   ├── api\n│   │   │   └── example.js\n│   │   └── example.js\n│   │\n│   ├── services\n│   │   └── example.js\n│   │\n│   ├── utils\n│   │   └── example.js\n│   │\n│   └── views\n│       ├── error.jade \u003c-- Error template\n│       ├── includes\n│       │   ├── footer.jade \u003c-- Footer template\n│       │   ├── messages.jade \u003c-- Flash messages template\n│       │   ├── meta.jade \u003c-- General meta content\n│       │   ├── facebook-meta.jade \u003c-- Facebook meta data\n│       │   └── twitter-cards.jade \u003c-- Twitter meta data for whitelisting\n│       ├── layouts\n│       │   └── default.jade \u003c-- Default layout\n│       └── index.jade \u003c-- Index template\n│\n├── bin\n│   └── www \u003c-- HTTP server runner\n│\n├── config\n│   ├── config.json \u003c-- General configurations file\n│   ├── mongoose.js \u003c-- Mongoose connection configuration\n│   ├── passport.js \u003c-- Passport routes and strategies\n│   └── routes.js \u003c-- General routes\n│\n├── locales \u003c-- Locale files should be referenced in config.json file\n│   ├── en.json\n│   ├── pt-br.json\n│   └── pt.json\n│\n├── main.js \u003c-- Main app file\n├── tests.js \u003c -- Tests file\n├── bower.json\n├── favicon.ico \u003c-- Website favicon\n└── package.json\n```\n\n## Setup\n\n### Installation\n\n\u003e npm install\n\n\u003e npm install bower -g\n\n\u003e bower install\n\n\u003e [Install MongoDB](https://www.mongodb.org/downloads)\n\n### Configuration\n\n#### Environment variables\n* IP\n    - export IP=\"192.168.0.1\"\n* PORT\n    - export PORT=\"8080\"\n* SESSION_SECRET\n    - export SESSION_SECRET=\"mysecret\"\n* DATABASE_URL\n    - export DATABASE_URL=\"mongodb://localhost:27017/example\"\n* FACEBOOK_APP_ID: See https://developers.facebook.com/docs/apps/register#app-id\n    - export FACEBOOK_APP_ID=\"myfacebookid\"\n* FACEBOOK_APP_SECRET: See https://developers.facebook.com/docs/apps/register#app-secret\n    - export FACEBOOK_APP_SECRET=\"myfacebooksecret\"\n* TWITTER_CONSUMER_KEY\n    - export TWITTER_CONSUMER_KEY=\"mytwitterconsumerkey\"\n* TWITTER_CONSUMER_SECRET\n    - export TWITTER_CONSUMER_SECRET=\"mytwitterconsumersecret\"\n* GOOGLE_CLIENT_ID\n    - export GOOGLE_CLIENT_ID=\"mygoogleclientid\"\n* GOOGLE_CLIENT_SECRET\n    - exports GOOGLE_CLIENT_SECRET=\"mygoogleclientsecret\"\n* GITHUB_CLIENT_ID\n    - export GITHUB_CLIENT_ID=\"mygithubclientid\"\n* GITHUB_CLIENT_SECRET\n    - exports GITHUB_CLIENT_SECRET=\"mygithubclientsecret\"\n* LINKEDIN_KEY\n    - export LINKEDIN_KEY=\"mylinkedinkey\"\n* LINKEDIN_KEY\n    - export LINKEDIN_SECRET=\"mylinkedinsecret\"\n* INSTAGRAM_CLIENT_ID\n    - export INSTAGRAM_CLIENT_ID=\"myinstamgramclientid\"\n* INSTAGRAM_CLIENT_SECRET\n    - export INSTAGRAM_CLIENT_SECRET=\"myinstamgramclientsecret\"\n\n#### Project configuration\n* Project/config/config.json\n    - DATABASE.RECONNECT: Enable or disable auto reconnection.\n    - DATABASE.RECONNECTION_INTERVAL: Interval for auto reconnection tries.\n    - LOCALES: Reference your locale files in the locale folder. Only the locales defined here will be use by the app.\n    - HTTP_LOG_CONFIG: See https://github.com/expressjs/morgan#predefined-formats\n    - AUTH.ENABLED: Enable or disable authentication.\n    - AUTH.LOCAL.ENABLED: Enable or disable local authentication.\n    - AUTH.FACEBOOK.ENABLED: Enable or disable Facebook authentication.\n    - AUTH.FACEBOOK.PROFILE_FIELDS: Facebook profile fields wanted.\n    - AUTH.FACEBOOK.OPTIONS: Facebook API options.\n    - AUTH.TWITTER.ENABLED: Enable or disable Twitter authentication.\n    - AUTH.GOOGLE.ENABLED: Enable or disable Google authentication.\n    - AUTH.GOOGLE.OPTIONS: Google API options.\n    - AUTH.GITHUB.ENABLED: Enable or disable GitHub authentication.\n    - AUTH.LINKEDIN.ENABLED: Enable or disable Linkedin authentication.\n    - AUTH.LINKEDIN.OPTIONS: Linkedin api options.\n    - AUTH.INSTAGRAM.ENABLED: Enable or disable Instagram authentication.\n\n## Launching\n\nFirst start MongoDB if you don't have a running instance\n\n\u003e mongod\n\n#### Development\n\n\u003e npm start\n\n#### Production\n\n\u003e node bin/www\n\n#### Test\n\n\u003e npm test\n\n[Running Example](http://nodejs-web-jade-scaffold.herokuapp.com/)\n\n## TODO\n\n* User/Role management\n* More tests\n\n## License\n\n[Licence](https://github.com/rodrigogs/nodejs-web-jade-scaffold/blob/master/LICENSE) © Rodrigo Gomes da Silva\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigogs%2Fnodejs-web-jade-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigogs%2Fnodejs-web-jade-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigogs%2Fnodejs-web-jade-scaffold/lists"}