Quick Guide to Setting Up the Renren‑Fast Management Backend for the PassJava Project

This tutorial walks through downloading the Renren‑Fast open‑source admin framework, integrating it into the PassJava project, configuring MySQL and Docker, adjusting application settings, launching the backend service, building the Vue front‑end, and performing end‑to‑end login verification, providing a complete step‑by‑step guide for developers.

Wukong Talks Architecture
Wukong Talks Architecture
Wukong Talks Architecture
Quick Guide to Setting Up the Renren‑Fast Management Backend for the PassJava Project

Download the Renren‑Fast backend framework ( https://gitee.com/renrenio/renren-fast.git) and its Vue front‑end ( https://gitee.com/renrenio/renren-fast-vue.git).

Copy the renren-fast directory into the PassJava project root and add the module entry <module>renren-fast</module> to the POM file.

Create a MySQL database named passjava_admin and execute the script renren-fast/db/mysql.sql to initialize tables.

Modify src/main/resources/application-dev.yml to point to your MySQL instance.

Resolve the PacketTooBigException by editing the MySQL container configuration ( /mydata/mysql/conf/my.cnf) and adding max_allowed_packet=32M under [mysqld_safe].

Start the Renren‑Fast service with JDK 1.8.

In the front‑end project, install dependencies with cnpm install and launch the development server using npm run dev, then access the UI at http://localhost:8002.

Log in to the admin console with username admin and password admin; a successful login returns {"msg":"invalid token","code":401}, indicating the service is running but authentication is required.

Verify backend logs and confirm that the front‑end login request reaches the backend service.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

BackendJavaDockerMicroservicesmysqlRenren-Fast
Wukong Talks Architecture
Written by

Wukong Talks Architecture

Explaining distributed systems and architecture through stories. Author of the "JVM Performance Tuning in Practice" column, open-source author of "Spring Cloud in Practice PassJava", and independently developed a PMP practice quiz mini-program.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.