Node Blog screenshot

Node Blog

Author Avatar Theme by Bs32g1038
Updated: 22 Aug 2024
159 Stars

A react blog project base on nodejs, nestjs, mongoose, typescript, react, ant-design,nextjs

Categories

Overview

The Simple Blog is a fast and easy-to-use blog platform that is currently a work in progress and not ready for production use. It offers a variety of features, including support for light and dark themes, a Node-blog API powered by Node.js and Express, data storage in MongoDB with Mongoose, powerful webpack build tools, support for React, Ant Design, Express, and TypeScript, Next.js for server-side rendering, responsive layout for mobile devices, and best practices for code health.

Features

  • Theme: Supports both light and dark themes.
  • API: Provides a RESTful API for the blog using Node.js and Express.
  • Database: Data is stored in MongoDB and driven by Mongoose.
  • Powerful build: Uses powerful webpack to build projects.
  • Framework support: Supports React, Ant Design, Express, and TypeScript.
  • Next.js: Supports server-side rendering.
  • Responsive: Offers a responsive layout for mobile devices.
  • Best Practices: Provides a solid workflow for maintaining healthy code.

Installation

  1. Clone the code repository.
  2. Install the necessary dependencies.
  3. Initialize the database with data.
  4. Run the application locally.
  5. Build the distribution files.

If using Docker:

  • Debug locally and make necessary configuration changes for database and personal information.
  • Pull the project to your server.
  • Install Docker and run docker-compose build followed by docker-compose up -d.

If not using Docker:

  • Navigate to the project directory and run npm install or yarn install.
  • Once the installation is complete, run npm run start:prod.

Additional dependencies:

  • Operating System: Linux, OS X, or Windows.
  • Node.js Runtime: Version 20.x or newer, recommended to use LTS Releases.
  • MongoDB: Version 5.x or newer.

Supported Browsers:

  • Edge: Last 2 versions
  • Firefox: Last 2 versions
  • Chrome: Last 2 versions
  • Safari: Last 2 versions
  • Opera: Last 2 versions

If you find the content useful, please consider giving it a star as encouragement.

Summary

The Simple Blog is a fast and easy-to-use blog platform that is still in development and not ready for production use. It offers a range of features, including support for light and dark themes, a Node-blog API powered by Node.js and Express, data storage in MongoDB with Mongoose, powerful webpack build tools, support for React, Ant Design, Express, and TypeScript, Next.js for server-side rendering, responsive layout for mobile devices, and best practices for code health. The installation process involves cloning the code repository, installing dependencies, initializing the database, and running the application locally or using Docker. It is also important to ensure that the required dependencies, such as Node.js and MongoDB, are installed.