Spring Boot + Vue Online Exam System: Features, Architecture, and Deployment Guide

This article introduces a full‑stack online exam system built with Spring Boot and Vue, detailing its role‑based features, front‑back separation architecture, and step‑by‑step instructions for cloning, configuring, and deploying both the backend and frontend components.

Full-Stack Internet Architecture
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Spring Boot + Vue Online Exam System: Features, Architecture, and Deployment Guide

We recommend a robust online exam system built with Spring Boot (backend) and Vue (frontend) that follows a front‑back separation architecture. The source code is available at GitHub .

0x01: Feature Overview

The system supports single‑choice, multiple‑choice, and true/false questions and defines three user roles: student, teacher, and admin.

Student: participate in exams and view my exams.

Teacher: all student permissions plus create/edit questions and exams.

Admin: all teacher permissions plus user management.

0x02: Software Architecture

Front‑back separation with componentized front end for easy extension.

Backend uses Spring Boot, JPA, Swagger2, and JWT for authentication, returning data according to user permissions.

Frontend uses Vue and Ant Design, with many reusable components.

0x03: Development, Setup, and Deployment

① Clone the repository:

git clone https://github.com/19920625lsg/java-thread.git

② Create the database:

Create an exam database and import the SQL file located at spring-boot-online-exam/doc/sql/exam.sql.

③ Import the backend code and modify the configuration file

spring-boot-online-exam/backend/exam/src/main/resources/application.yml

to set the database connection.

Configuration screenshot:

Start the backend by running the main class com.huawei.l00379880.exam.ExamApplication. com.huawei.l00379880.exam.ExamApplication Backend start screenshot:

④ Start the frontend:

Navigate to spring-boot-online-exam/frontend/exam/, install dependencies with npm install, and launch the development server with npm run serve.

npm install
npm run serve

0x04: Query Results

System users: admin, teacher, student (password: admin123).

Login page

Home page

Exam list page

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.

DeploymentSpring BootVueJWTfull-stackonline exam
Full-Stack Internet Architecture
Written by

Full-Stack Internet Architecture

Introducing full-stack Internet architecture technologies centered on Java

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.