{"id":18539986,"url":"https://github.com/ecorreia45/express-server-boiler-plate","last_synced_at":"2026-03-16T04:32:18.646Z","repository":{"id":44068372,"uuid":"169843105","full_name":"ECorreia45/Express-Server-Boiler-Plate","owner":"ECorreia45","description":"This is a simple express setup to be used when building a multi-page, server side render website.","archived":false,"fork":false,"pushed_at":"2023-03-03T07:15:28.000Z","size":1798,"stargazers_count":2,"open_issues_count":14,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T11:36:06.401Z","etag":null,"topics":["babel","boilerplate","eslint","express","express-server","jade","javascript","multi-page","node","router","sass","stylesheets","webpack"],"latest_commit_sha":null,"homepage":"","language":"SCSS","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/ECorreia45.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-09T07:35:58.000Z","updated_at":"2023-02-14T09:21:45.000Z","dependencies_parsed_at":"2024-11-06T20:03:34.630Z","dependency_job_id":null,"html_url":"https://github.com/ECorreia45/Express-Server-Boiler-Plate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/ECorreia45/Express-Server-Boiler-Plate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECorreia45%2FExpress-Server-Boiler-Plate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECorreia45%2FExpress-Server-Boiler-Plate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECorreia45%2FExpress-Server-Boiler-Plate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECorreia45%2FExpress-Server-Boiler-Plate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ECorreia45","download_url":"https://codeload.github.com/ECorreia45/Express-Server-Boiler-Plate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECorreia45%2FExpress-Server-Boiler-Plate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271280970,"owners_count":24732100,"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-20T02:00:09.606Z","response_time":69,"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":["babel","boilerplate","eslint","express","express-server","jade","javascript","multi-page","node","router","sass","stylesheets","webpack"],"created_at":"2024-11-06T19:52:05.554Z","updated_at":"2026-03-16T04:32:18.575Z","avatar_url":"https://github.com/ECorreia45.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExpressJs Server Boilerplate\n **[express docs](https://expressjs.com/)**\n\nThis is a simple express setup to be used when building a multi-page, server side render website.\nIts setup with:\n- webpack (write your code in the node environment and modularize your code) **[webpack docs](https://webpack.js.org/)**\n- babel (write the latest javascript possible) **[babel docs](https://babeljs.io/)**\n- eslint (ensure code quality and convection) **[eslint docs](https://eslint.org/)**\n- sass (css does not have to be so complicated) **[sass docs](https://sass-lang.com/)**\n- jade (build you html site in pieces) **[jade docs](http://jade-lang.com/)**\n- api setup (a basic api setup to allow for a easy api construction)\n\n## To start run:\n\n``\nnpm install\n``\n: to install all the packages\n\n\n## For Local development run:\n\n``\nnpm run compile\n``\n: to compile all javascript to be used in the browser using webpack and babel in **WATCH** mode\n\n``\nnpm run local\n``\n: to serve the site in your browser\n\n\n## For Production run:\n\n``\nnpm run build\n``\n: to build all javascript ready for production (Will remove console-logs, minify and split your code per page)\n\n``\nnpm run start\n``\n: to run your server (Will minify stylesheets)\n\n.\n\n\n#### To create a page\n\n1. Add your .sass style to ./sass folder\n2. Add your .js script file to ./src folder\n3. Add a new **entry** point in ./webpack.config.js\n4. Add a new .jade view file to ./server/views\n5. Add a new ***route*** to ./server/routes/main-site.js (Set title and pass the name of you *.jade view file)\n\n#### To create a new api endpoint set\n\n1. Add a new .js file to ./server/routes/api-endpoints (export a function that receives a router)\n2. Import in in ./server/routes/api.js and call it before export passing it the **\"router\"**\n\n.\n\n## Important to know\n\n* This setup will automatically handle 404 and other site errors;\n* You don't have to touch Public folder unless to put public files in the assets folder\n* Stylesheets will be automatically added to the **stylesheets** folder as you visit pages\n* Webpack will compile and add your javascript file from ./src to ./public/javascript\n* **DONT want to use SASS?** Put your .css files inside ./public/stylesheets\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecorreia45%2Fexpress-server-boiler-plate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecorreia45%2Fexpress-server-boiler-plate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecorreia45%2Fexpress-server-boiler-plate/lists"}