Remix Ssr Blog screenshot

Remix Ssr Blog

Author Avatar Theme by Alvin0216
Updated: 28 Mar 2022
97 Stars

Personal blog developed based on remix!(基于 remix 开发的个人博客)

Categories

Overview:

Alvin’s Blog is a technical framework built using the remix/react 17.0.2, unocss, mysql, and prisma. It provides a quick and easy way to get started with the blog by configuring environment variables in the .env file and basic settings in the config.yml file. The blog is powered by the Remix App Server, which can be accessed at http://localhost:3333. Performance statistics can be found at https://remix.alvin.run. If you find this project helpful, consider supporting the author with a cup of tea via WeChat or Alipay.

Features:

  • Remix/React 17.0.2: Utilizes the latest version of the Remix/React framework for efficient and modern web development.
  • Unocss: Makes use of the unocss utility to enable effortless styling and design customization.
  • MySQL: Integrates with MySQL database for seamless data storage and retrieval.
  • Prisma: Offers a user-friendly interface for querying and connecting with the MySQL database.
  • Environment Configuration: Allows easy configuration of environment variables, such as access addresses for MySQL and authorization URLs for GitHub.
  • Config YAML: Provides a basic configuration file for setting up various aspects of the blog, such as social platform integrations and friend links.

Installation:

To install Alvin’s Blog, follow these steps:

  1. Clone the repository:
git clone [repository_url]
  1. Navigate to the project directory:
cd Alvin's Blog
  1. Install the required dependencies:
npm install
  1. Configure the environment variables by creating a file named “.env” in the root directory and specifying the necessary values. For example:
MYSQL_ADDRESS=localhost:3306
GITHUB_AUTH_URL=https://github.com/login/oauth/authorize
  1. Configure the blog settings by editing the “config.yml” file in the root directory. Update the various fields according to your preferences.
  2. Start the Remix App Server:
npm run dev
  1. Access the blog in your browser by visiting http://localhost:3333.

Summary:

Alvin’s Blog is a comprehensive technical framework that leverages the Remix/React 17.0.2, unocss, mysql, and prisma technologies. It provides an easy way to set up a blog by offering environment configuration, a basic configuration file, and tools for efficient web development. By following the installation guide, users can quickly get started and customize their blog according to their needs.