Big Event is a web-based platform focusing on social interactions, article sharing, and local service discovery. This project utilizes front-end technologies like HTML/CSS/JavaScript, and frameworks such as Vue.js and Element-Plus. The backend is built with Java's Spring Boot framework, and MySQL is used for database management.
- User Authentication: Supports user login functionality.
- Article Management: Allows users to add, edit, delete articles, and manage article categories.
- Personal Information Configuration: Users can configure personal information such as avatar, nickname, and password.
- Front-end: HTML/CSS/JavaScript, Vue.js, Element-Plus
- Back-end: Java, Spring Boot, Redis, Aliyun OSS
- Database: MySQL
- Location and Contact: Enable users to locate each other and make contact through information in their profiles.
- Local Service Search: Users can search for needed services on a map and quickly locate nearby related individuals or businesses, like cement factory owners.
- Extended Social Features: Add the ability to add friends and pay special attention to friends' articles. Users can add friends and follow their articles.
- Content Browsing: Supports browsing articles by region, country, or globally, and filtering articles by category.
Here provides the step-by-step setup for prerequisites of running this project on your system.
Before you begin, ensure you have met the following requirements:
- MySQL installed on your machine with:
- Port:
3306 - Username:
root - Password:
123456
- Port:
- Start your MySQL service and log in to the MySQL server using the credentials provided above.
- Navigate to the
Big Event\MySQL setupdirectory. - Run the
big_event.sqlscript to set up the required database and tables for the Big Event project.mysql -u root -p123456 < mysql -u root -p123456 < big_event.sql
- Redis Server installed and configured. You can find installation guides for
Linux,macOS, andWindowson the Redis official documentation. The Redis Server should be running on port6379. - Start your Redis server on the default port 6379.
- On
LinuxormacOS:
redis-server
- On
Windows, use the Redis application you installed:redis-server.exeor redis server on WSL Subsystem onWindows.
- On
- Navigate to the
"Big Event\Back-end\big-event\target"directory using command line. - Run the
big-event-1.0.jarfile usingJava:Make sure that the Java Runtime Environment (JRE) or Java Development Kit (JDK) is version 8 or higher.java -jar big-event-1.0.jar
- Wait until the screen shows that the Spring Boot project has been successfully initiated, which should look like this:
Started BigEventApplication in xxx seconds (process running for xxx)
- Re-navigate to the
"Big Event\Front-end\big-event"directory in your command line. - If a
distfolder does not exist in the current directory, you shall need to build the project:- Run the build command in the current folder, which is usually one of the following:
npm run build
- Run the build command in the current folder, which is usually one of the following:
- Once the
distfolder is in place (either it was already there or you have built the project), you can start the front-end server for this project by:This command will start the server that serves the front-end files of big-event project.npm start
If the project uses a tool like serve to statically serve the files, you might have a script in your package.json file that looks something like:In this case, running"scripts": { "start": "serve -s dist" }
npm startwill serve the contents of thedistfolder.
Here shows how to use this software.
- Registration: All the users will be navigated to the login screen upon launching the application. To register, enter a
username(3-30 chars, no spaces) and apassword(5-32 chars, no spaces), and then submit your registration by clicking the "Sign-Up" button. - Login: After successful registration, log in with your new
usernameandpasswordto access the main interface.
The main interface consists of 3 primary management sections:
- Use the "Add Category" button in the top right corner to create a new article category by specifying a
category name(3-32 chars) and ancategory alias(1-32 chars). - Besides adding new categories, you can browse, "Edit" (blue button on the right), and "Delete" (red button on the right) categories to manage them efficiently on this page.
- After creating at least one category, click "Add Article" in the top right corner to create new articles. Specify the
title(3-100 chars),category,cover image(upload from local files), andcontent(0-10000 chars, including HTML tags like<p></p>generated by the rich text editor). - Decide whether to publish the article immediately by clicking "Publish" button or save it as a draft with "Save Draft" button.
- You can manage your articles by filtering based on
categoryandstate(Published or Draft) and clicking "Search" or "Reset" button to proceed your filtering. - Also, you can perform actions like "Edit" or "Delete" as in the category management interface.
- Modify your personal information by clicking on your avatar in the top right corner of the page or selecting "Personal Center" from the left sidebar.
- You can update your
avatar(profile image), change yourpassword, and add anicknameandemailas you want.
Name: Zixiang Xu
Email: 1250105753@qq.com
LinkedIn: Zixiang Xu
Github: SuperDim666