This project is a full-stack web application that utilizes:
- Frontend: React with TypeScript, developed in Visual Studio Code
- Backend: Spring Boot, developed in IntelliJ IDEA
- Database: MongoDB
- Modern UI built with React and TypeScript
- Backend API using Spring Boot
- MongoDB for data storage
- RESTful API for communication between frontend and backend
- React
- TypeScript
- Axios (for API requests)
- React Router
- Tailwind CSS or Material UI
- Spring Boot
- Spring Web
- Spring Data MongoDB
- MongoDB (hosted locally or using MongoDB Atlas)
Ensure you have the following installed before setting up the project:
- Node.js and npm/yarn (for frontend)
- Java JDK 17+ (for backend)
- MongoDB (locally or a MongoDB Atlas account)
- Visual Studio Code (for frontend development)
- IntelliJ IDEA (for backend development)
- Navigate to the frontend directory:
cd linked - Install dependencies:
npm install
- Start the development server:
npm start
- Open
http://localhost:8080in your browser.
- Navigate to the backend directory:
cd backend - Set up MongoDB connection in
application.properties:spring.data.mongodb.uri=mongodb://localhost:27017/yourDatabaseName - Build and run the Spring Boot application:
mvn spring-boot:run
- The backend API will be available at
http://localhost:8080.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/users | Get all users |
| POST | /api/users | Create a new user |
| GET | /api/users/{id} | Get user by ID |
| PUT | /api/users/{id} | Update user details |
| DELETE | /api/users/{id} | Delete user |
project-root/
├── frontend/ # React + TypeScript frontend
│ ├── src/
│ ├── public/
│ ├── package.json
│ ├── tsconfig.json
│
├── backend/ # Spring Boot backend
│ ├── src/main/java/
│ ├── src/main/resources/
│ ├── pom.xml
│
└── README.md # Project documentation
- Fork the repository
- Create a new branch (
git checkout -b feature-name) - Commit your changes (
git commit -m 'Add new feature') - Push to the branch (
git push origin feature-name) - Open a Pull Request
For any issues or improvements, feel free to open an issue or reach out to me at willowstration@gmail.com