dbelob/twitter-emulation
소개
Twitter emulation in Java and React/Angular
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 0
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTwitter emulation in Java and React/Angular

The application emulates the main features of Twitter:
- login, logout;
- account management (registration, editing, deleting, search by substring);
- main page (account properties, timeline, tweets, following, followers);
- tweet creating;
- follow/unfollow.
in several ways:
- Spring MVC, JSP
- Spring Boot, JSP
- Spring Boot, React
- Spring Boot, Angular
Requirements
- JDK 25+
- Apache Maven 3.9.0+
- Node.js 26.14.0+ (optional)
- Docker (optional)
Running
Spring MVC, JSP
From the command line with Maven (in the root directory):
mvn clean install -Dmaven.test.skip=trueChange directory:
cd twitter-emulation-spring-mvc-jspFrom the command line run one of the commands with Maven:
mvn jetty:run(H2)mvn jetty:run -P development(H2)mvn jetty:run -P production(Oracle Database)
(Oracle Database connection properties:etc/jetty.xml)Access the deployed web application at:
Log in with existing accounts (
jsmith/password,jdoe/password,rroe/password,alone/password) or create a new account
Spring Boot, JSP
From the command line with Maven (in the root directory):
mvn clean install -Dmaven.test.skip=trueChange directory:
cd twitter-emulation-spring-boot-jspFrom the command line run one of the commands with Maven:
mvn spring-boot:run(H2)mvn spring-boot:run -P development(H2)mvn spring-boot:run -P production(Oracle Database)
(Oracle Database connection properties:src/main/resources/application.yml)Access the deployed web application at:
Log in with existing accounts (
jsmith/password,jdoe/password,rroe/password,alone/password) or create a new account
Spring Boot, React
Method 1
From the command line with Maven (in the root directory):
mvn clean install -Dmaven.test.skip=trueChange directory:
cd twitter-emulation-spring-boot-react-serverFrom the command line run one of the commands with Maven:
mvn spring-boot:run(H2)mvn spring-boot:run -P development(H2)mvn spring-boot:run -P production(Oracle Database)
(Oracle Database connection properties:src/main/resources/application.yml)Access the deployed web application at:
Log in with existing accounts (
jsmith/password,jdoe/password,rroe/password,alone/password) or create a new account
Method 2
Install Node.js
Run to ensure that npm is working:
npm -vChange directory:
cd twitter-emulation-spring-boot-react-serverFrom the command line run one of the commands with Maven:
mvn spring-boot:run(H2)mvn spring-boot:run -P development(H2)mvn spring-boot:run -P production(Oracle Database)
(Oracle Database connection properties:src/main/resources/application.yml)Change directory:
cd twitter-emulation-spring-boot-react-webFrom the command line with npm:
npm startAccess the deployed web application at:
Log in with existing accounts (
jsmith/password,jdoe/password,rroe/password,alone/password) or create a new account
Method 3
From the command line with Maven (in the root directory):
mvn clean package -DskipTestsChange directory:
cd twitter-emulation-distrib/targetFind distribution file:
twitter-emulation-react-<version>.zipExtract files from ZIP, for example:
unzip twitter-emulation-react-<version>.zipChange directory:
cd twitter-emulation-react-<version>Run:
runme.bat(Windows)runme.sh(macOS or Linux)Access the running web application at:
Log in with existing accounts (
jsmith/password,jdoe/password,rroe/password,alone/password) or create a new account
Spring Boot, Angular
Method 1
From the command line with Maven (in the root directory):
mvn clean install -Dmaven.test.skip=trueChange directory:
cd twitter-emulation-spring-boot-angular-serverFrom the command line run one of the commands with Maven:
mvn spring-boot:run(H2)mvn spring-boot:run -P development(H2)mvn spring-boot:run -P production(Oracle Database)
(Oracle Database connection properties:src/main/resources/application.yml)Access the deployed web application at:
Log in with existing accounts (
jsmith/password,jdoe/password,rroe/password,alone/password) or create a new account
Method 2
Install Node.js
Run to ensure that npm is working:
npm -vChange directory:
cd twitter-emulation-spring-boot-angular-serverFrom the command line run one of the commands with Maven:
mvn spring-boot:run(H2)mvn spring-boot:run -P development(H2)mvn spring-boot:run -P production(Oracle Database)
(Oracle Database connection properties:src/main/resources/application.yml)Change directory:
cd twitter-emulation-spring-boot-angular-webFrom the command line with npm:
npm startAccess the deployed web application at:
Log in with existing accounts (
jsmith/password,jdoe/password,rroe/password,alone/password) or create a new account
Method 3
From the command line with Maven (in the root directory):
mvn clean package -DskipTestsChange directory:
cd twitter-emulation-distrib/targetFind distribution file:
twitter-emulation-angular-<version>.zipExtract files from ZIP, for example:
unzip twitter-emulation-angular-<version>.zipChange directory:
cd twitter-emulation-angular-<version>Run:
runme.bat(Windows)runme.sh(macOS or Linux)Access the running web application at:
Log in with existing accounts (
jsmith/password,jdoe/password,rroe/password,alone/password) or create a new account
Monitoring
Change directory:
cd twitter-emulation-spring-boot-adminFrom the command line with Maven:
mvn spring-boot:runChange directory:
cd twitter-emulation-spring-boot-react-serveror
cd twitter-emulation-spring-boot-angular-serverFrom the command line with Maven:
mvn spring-boot:runAccess Spring Boot Admin application at:
Log in with existing account
admin/password
Testing
Backend unit testing for DAOs and services
Install Docker (optional, only for Oracle Database testing)
Change directory:
cd twitter-emulation-commonFrom the command line run one of the commands with Maven:
mvn test(H2)mvn test -P development(H2)mvn test -P production(Oracle Database)
Backend unit testing for controllers, integration testing
Change directory:
cd twitter-emulation-spring-boot-common-serverFrom the command line with Maven:
mvn test
Frontend unit testing
Vitest, React Testing Library tests
Change directory:
cd twitter-emulation-spring-boot-react-webFrom the command line with npm:
npm run test
Jasmine, Karma tests
Change directory:
cd twitter-emulation-spring-boot-angular-webFrom the command line with npm:
npm run test
Frontend end-to-end testing
Puppeteer tests (React)
Change directory:
cd twitter-emulation-spring-boot-react-webFrom the command line with npm:
npm run e2e
Puppeteer tests (Angular)
Change directory:
cd twitter-emulation-spring-boot-angular-webFrom the command line with npm:
npm run e2e
Development
Frameworks and libraries
- Spring:
- React
- Angular
- H2 or Oracle Database (data storage)
- Swagger (REST API documentation)
- JUnit (Java unit testing)
- Mockito (mocking for unit tests in Java)
- TestContainers (testing with Docker containers)
- Vitest (JavaScript testing by Vite)
- React Testing Library (JavaScript unit testing for React)
- Jasmine (JavaScript unit testing)
- Karma (test runner for JavaScript)
- Puppeteer (JavaScript end-to-end testing)
CI/CD
- GitHub Actions (automation of workflows)
- Dependabot (automated dependency updates)
- Mergify (automated merging of pull requests)
Tools
- ToDoList 7.1.5+ (planning)
- Pencil 3.0.4+ (GUI prototyping)
- Violet 0.21.1 (UML diagrams)
Article
The evolution of creating web applications in Java (Russian)
관련 프로젝트 살펴보기
불러오는 중…