During our Object-Oriented Programming module's Teamwork week, we embarked on an exciting journey to develop a Stackoverflow replica Spring Boot Web API, inspired by the renowned Stackoverflow platform. Our project, affectionately dubbed "Stackoverflow China Edition," serves as our final team endeavor, showcasing our mastery of Java technologies.
Get ready to immerse yourself in the world of Stackoverflow with our China-inspired clone! Our project empowers users to create and manage questions and answers, just like the original platform. Here's a sneak peek into our technology stack:
- Backend Magic: Harnessing the power of Java (Spring Boot 3), we've crafted a robust backend system to handle all your requests and responses with finesse.
- Data Dynamo: Behind the scenes, PostgreSQL works tirelessly to efficiently manage our vast database of questions and answers.
- Frontend Tricks: Empowered by React Vite, our frontend dazzles with lightning-fast performance and cutting-edge features, offering users an immersive experience like never before.
Ready to dive in? Follow these simple steps to set up "Stackoverflow China Edition" on your machine:
Install the latest NPM
Java Development Kit(JDK21) installed
PostgreSQL database set up
Frontend Setup:
- cd frontend
- npm install
- Clone the Repository
git clone <REPO_LINK>
-
Install NPM packages
npm install
-
Backend Setup: Configure the application.properties file with your PostgreSQL database credentials.
-
Create the PSQL table by running the query from table_creation.sql
-
Run backend
-
Navigate to the stackoverflow_frontend folder and run this command:
npm run dev
🟣 Register with fictional information (username and password, not yet encrypted). 🟢 Login to the site. 🔵 Post new questions and answers. 🟠 Manage your questions and answers by deleting them.
This project is licensed under the MIT License.
If you found this project useful and would like to get in touch, feel free to contact me on LinkedIn. Your feedback and suggestions are always welcome!