{"id":33118089,"url":"https://github.com/BKFA/express-mvc","last_synced_at":"2025-11-19T21:00:43.053Z","repository":{"id":55945788,"uuid":"136709078","full_name":"BKFA/express-mvc","owner":"BKFA","description":"Templating expressJS and Dockering :flags: :rocket: :dolphin: :tada:","archived":false,"fork":false,"pushed_at":"2023-02-01T16:00:13.000Z","size":586,"stargazers_count":2,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-28T19:23:19.414Z","etag":null,"topics":["expressjs","mongodb","mvc","nodejs"],"latest_commit_sha":null,"homepage":"","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/BKFA.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":"SECURITY.md","support":null}},"created_at":"2018-06-09T09:23:35.000Z","updated_at":"2022-06-23T09:19:17.000Z","dependencies_parsed_at":"2023-02-17T07:30:49.684Z","dependency_job_id":null,"html_url":"https://github.com/BKFA/express-mvc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/BKFA/express-mvc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BKFA%2Fexpress-mvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BKFA%2Fexpress-mvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BKFA%2Fexpress-mvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BKFA%2Fexpress-mvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BKFA","download_url":"https://codeload.github.com/BKFA/express-mvc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BKFA%2Fexpress-mvc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285327645,"owners_count":27152947,"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-11-19T02:00:05.673Z","response_time":65,"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":["expressjs","mongodb","mvc","nodejs"],"created_at":"2025-11-15T03:00:32.259Z","updated_at":"2025-11-19T21:00:43.046Z","avatar_url":"https://github.com/BKFA.png","language":"JavaScript","funding_links":[],"categories":["NodeJS fullstack :tada: :tada: :tada:"],"sub_categories":["Design Pattern :art: :art: :art:"],"readme":"# ExpressMVC\n#### `MVC design pattern for developing Express app. Technology stack:` \u003cimg src=\"https://img.shields.io/badge/node.js%20-%2343853D.svg?\u0026style=flat-square\u0026logo=node.js\u0026logoColor=white\"/\u003e \u003cimg src=\"https://img.shields.io/badge/express.js%20-%23404d59.svg?\u0026style=flat-square\"/\u003e \u003cimg src =\"https://img.shields.io/badge/MongoDB-%234ea94b.svg?\u0026style=flat-square\u0026logo=mongodb\u0026logoColor=white\"/\u003e \u003cimg src=\"https://img.shields.io/badge/docker%20-%230db7ed.svg?\u0026style=flat-square\u0026logo=docker\u0026logoColor=white\"/\u003e\n\nVietnamese tutorial is available at [readme.txt](https://github.com/BKFA/expressMVC/blob/master/readme.txt).\n### Set up in local \n0. Preinstall nodejs, npm and mongodb at local computer\n1. Clone this repo: `git clone https://github.com/BKFA/expressMVC.git`\n2. Config your view engine in package.json: ejs, pug, hjs, etc... \n3. `npm install`\n4. `npm install -g nodemon` to install nodemon, it track and monitor your project\n5. `npm install -g browser-sync` to saving-time synchronised browser testing\n6. (Optinal) `npm audit fix` sometimes any module old and need update\n7. `npm start` to run -\u003e it start gulp and nodemon\n\u003cbr\u003e Note: this repo run with sass preprocessor, if you run in windows environment, you need to install sass preprocessor. In ubuntu, you need to install ruby and compass to make gulp active.\n\n### Set up with \u003cimg src=\"https://img.shields.io/badge/docker%20-%230db7ed.svg?\u0026style=flat-square\u0026logo=docker\u0026logoColor=white\"/\u003e\n0. You need to install docker and docker-compose\n1. `sudo docker-composer up`\n### File and folder structure:\n\t+ Config: your customize (etc: const), database.js where you define your mongodb string - it contain db name.\n\t+ Controllers: code your logic and bussiness, it call models, and return views or data.\n\t+ Models: define schema and query db.\n\t+ Views: your front-end.\n\t+ routers: define routers and call controller.\n\t+ Public: somethings client can access at sometimes (css, js, img, file...)\n\u003cbr\u003eConnect router, controller, models with your customize.\n#### Thanks to read this article :gift:. Feel comfortable to put your issues. Hope it help. :star: :star: :star:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBKFA%2Fexpress-mvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBKFA%2Fexpress-mvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBKFA%2Fexpress-mvc/lists"}