{"id":18675712,"url":"https://github.com/bs32g1038/node-blog","last_synced_at":"2025-03-17T14:14:23.633Z","repository":{"id":11121738,"uuid":"68283950","full_name":"bs32g1038/node-blog","owner":"bs32g1038","description":"🔥✨ A react  blog project base on nodejs, nestjs, mongoose, typescript, react, ant-design,nextjs","archived":false,"fork":false,"pushed_at":"2024-08-22T08:52:06.000Z","size":116079,"stargazers_count":157,"open_issues_count":12,"forks_count":44,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-02T13:08:01.550Z","etag":null,"topics":["ant-design","ant-design-v5","article","blog","chakra-ui","database","docker","mongoose","nestjs","newer","nextjs","nodejs","react","redux","typescript","webpack"],"latest_commit_sha":null,"homepage":"https://www.lizc.net","language":"TypeScript","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/bs32g1038.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-15T10:07:04.000Z","updated_at":"2025-02-20T21:55:40.000Z","dependencies_parsed_at":"2023-01-16T19:46:32.126Z","dependency_job_id":"d5652583-c010-4155-8c59-26a290ef1219","html_url":"https://github.com/bs32g1038/node-blog","commit_stats":null,"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bs32g1038%2Fnode-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bs32g1038%2Fnode-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bs32g1038%2Fnode-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bs32g1038%2Fnode-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bs32g1038","download_url":"https://codeload.github.com/bs32g1038/node-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244047646,"owners_count":20389206,"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":["ant-design","ant-design-v5","article","blog","chakra-ui","database","docker","mongoose","nestjs","newer","nextjs","nodejs","react","redux","typescript","webpack"],"created_at":"2024-11-07T09:26:00.685Z","updated_at":"2025-03-17T14:14:23.598Z","avatar_url":"https://github.com/bs32g1038.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eNode Blog\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n💨 A simple, fast and easy-to-use blog 🚀\n\n⚠️ Caution: Working in progress - It's not production ready 🚧\n\n[![Actions Status](https://github.com/bs32g1038/node-blog/workflows/Node%20Blog%20CI/badge.svg)](https://github.com/bs32g1038/node-blog/actions) [![Actions Status](https://github.com/bs32g1038/node-blog/workflows/Release%20Docker%20CI/badge.svg)](https://github.com/bs32g1038/node-blog/actions)\n[![Coverage Status](https://coveralls.io/repos/github/bs32g1038/node-blog/badge.svg?branch=master)](https://coveralls.io/github/bs32g1038/node-blog?branch=master)\n![GitHub](https://img.shields.io/github/license/bs32g1038/node-blog.svg)\n\n\u003c/div\u003e\n\n\u003cp align=\"center\" dir=\"auto\"\u003e\n\u003cimg src=\"https://github.com/bs32g1038/node-blog/raw/master/docs/images/home.png?raw=true\" alt=\"博客首页\" style=\"max-width: 100%;width: 620px;\"\u003e\n\u003c/p\u003e\n\n\n* **preview :** [https://www.lizc.net](https://www.lizc.net \"blog\")\n\n## Features\n\n* 🌙☀ Theme: Support light and dark themes\n* 🐐 APi: Node-blog through Nodejs and express provide the Restful API\n* 🚜 Database: Data stored in Mongodb，Driven by Mongoose\n* 🔨 Powerful build: Use powerful webpack to build projects\n* 🍓 Framework support: React, Ant design, Express, Typescript, ...\n* 🌲 Nextjs: Support server-side render\n* 📲 Responsive: Responsive layout for mobile-side\n* ⚙️ Best Practices: Solid workflow to make your code healthy\n* ......\n\n## Structure\n```\nROOT\n│\n├─server // provide blog server api, based one nodejs, mongodb\n│\nclient // client ui\n│\n├──web // front-end ui\n│\n├──admin // admin ui\n│\n├─docker-compose.yml // docker-compose config file\n```\n\n## Todo\n- [x] Article tags\n- [x] Writing new article in browser\n- [x] Comments\n- [x] Search support\n- [x] Mobile web support\n- [x] Light theme \u0026  Dark theme\n- [x] Article draft record\n- [x] Other support ...\n\n## Development\n\n**1，clone code**\n```\ngit clone https://github.com/bs32g1038/node-blog.git\n```\n\n**2，install**\n```\ncd **\nnpm install\n```\n\n**3，init database data**\n```\n// this will generate the faker data to database\nnpm run init:dev:data\n```\n\n**4，run app**\n```\nnpm run dev     // development mode\n```\n\n**4, build dist**\n```\nnpm run build   // build dist for server and client\n```\n\n## Deploy\n\nThe project has integrated related suites, such as client ui, dockerfile, docker-compose.yml. So you can easy to deploy the project.\n\n* First: I recommend that you debug locally and make changes to configuration information, such as database information and personal information.\n\n* Secondly: you can choice the docker to deploy this project. It is very esay. you only ```pull``` the project to your server and install ```docker```, and run ```docker-compose build``` command, and run ```docker-compose up -d``` command\n\n**However!!!⚠**\n\nIf you don't want to use docker, you must to ```cd``` the current item and run ```npm install or yarn install``` command.\n\nAt the same time, when finish install, you need to run ```npm run start:prod``` command.\n\nBesides, you may need to install ```mongodb```,before you run the application.\n\n## Environment dependence\n\nOperating System: Linux, OS X or Windows.\n\nNode.js Runtime: 20.x or newer; it is recommended that you use LTS Releases.\n\ndatabase: mongdb 5.x or newer;\n\n## Browsers support\n\nModern browsers.\n\n| [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png\" alt=\"Edge\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eEdge | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png\" alt=\"Firefox\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eFirefox | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png\" alt=\"Chrome\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eChrome | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png\" alt=\"Safari\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eSafari | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png\" alt=\"Opera\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eOpera |\n| --- | --- | --- | --- | --- |\n| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |\n\n## Thank you：\n\nIf you think these contents are useful to you, please add a \"Star\" at the top right. This is the encouragement to me, thank you!\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbs32g1038%2Fnode-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbs32g1038%2Fnode-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbs32g1038%2Fnode-blog/lists"}