├── .gitignore ├── .idea ├── .gitignore ├── compiler.xml ├── dataSources.xml ├── encodings.xml ├── jarRepositories.xml ├── libraries │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_12_6.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_14_2.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_12_6_1.xml │ ├── Maven__com_google_code_gson_gson_2_10_1.xml │ ├── Maven__com_google_protobuf_protobuf_java_3_11_4.xml │ ├── Maven__commons_dbutils_commons_dbutils_1_7.xml │ ├── Maven__commons_io_commons_io_2_13_0.xml │ ├── Maven__io_jsonwebtoken_jjwt_api_0_11_5.xml │ ├── Maven__io_jsonwebtoken_jjwt_impl_0_11_5.xml │ ├── Maven__io_jsonwebtoken_jjwt_jackson_0_11_5.xml │ ├── Maven__mysql_mysql_connector_java_8_0_28.xml │ ├── Maven__org_apache_commons_commons_lang3_3_12_0.xml │ └── common.xml ├── misc.xml ├── modules.xml ├── sqldialects.xml └── vcs.xml ├── Commons.png ├── README.MD ├── Twitter_Server.iml ├── architecture.png ├── database schema.png ├── pom.xml └── src └── main └── java └── Server ├── Controllers ├── DataController.java └── UserActionsController.java ├── Database ├── DatabaseController.java ├── Insertable.java ├── MessageData │ ├── Chats.java │ ├── Hashtags.java │ ├── Messages.java │ └── Tweets.java ├── Table.java └── UserData │ ├── BlockList.java │ ├── Countries.java │ ├── Followers.java │ ├── Likes.java │ └── Users.java ├── ServerRequestHandler.java ├── ServerRunner.java ├── StorageUnit └── StorageManager.java └── Utils ├── DBUtils.java ├── Http └── ServerHttpUtils.java ├── Snowflake.java └── TweetAnalyzer.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/dataSources.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/dataSources.xml -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/encodings.xml -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/jarRepositories.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_12_6.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_12_6.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_14_2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_14_2.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_12_6_1.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_12_6_1.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_code_gson_gson_2_10_1.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__com_google_code_gson_gson_2_10_1.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_protobuf_protobuf_java_3_11_4.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__com_google_protobuf_protobuf_java_3_11_4.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_dbutils_commons_dbutils_1_7.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__commons_dbutils_commons_dbutils_1_7.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_io_commons_io_2_13_0.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__commons_io_commons_io_2_13_0.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_jsonwebtoken_jjwt_api_0_11_5.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__io_jsonwebtoken_jjwt_api_0_11_5.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_jsonwebtoken_jjwt_impl_0_11_5.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__io_jsonwebtoken_jjwt_impl_0_11_5.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_jsonwebtoken_jjwt_jackson_0_11_5.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__io_jsonwebtoken_jjwt_jackson_0_11_5.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__mysql_mysql_connector_java_8_0_28.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__mysql_mysql_connector_java_8_0_28.xml -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_lang3_3_12_0.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/Maven__org_apache_commons_commons_lang3_3_12_0.xml -------------------------------------------------------------------------------- /.idea/libraries/common.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/libraries/common.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/sqldialects.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/sqldialects.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /Commons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/Commons.png -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/README.MD -------------------------------------------------------------------------------- /Twitter_Server.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/Twitter_Server.iml -------------------------------------------------------------------------------- /architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/architecture.png -------------------------------------------------------------------------------- /database schema.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/database schema.png -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/Server/Controllers/DataController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Controllers/DataController.java -------------------------------------------------------------------------------- /src/main/java/Server/Controllers/UserActionsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Controllers/UserActionsController.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/DatabaseController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/DatabaseController.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/Insertable.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/Insertable.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/MessageData/Chats.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/MessageData/Chats.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/MessageData/Hashtags.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/MessageData/Hashtags.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/MessageData/Messages.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/MessageData/Messages.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/MessageData/Tweets.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/MessageData/Tweets.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/Table.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/Table.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/UserData/BlockList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/UserData/BlockList.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/UserData/Countries.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/UserData/Countries.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/UserData/Followers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/UserData/Followers.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/UserData/Likes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/UserData/Likes.java -------------------------------------------------------------------------------- /src/main/java/Server/Database/UserData/Users.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Database/UserData/Users.java -------------------------------------------------------------------------------- /src/main/java/Server/ServerRequestHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/ServerRequestHandler.java -------------------------------------------------------------------------------- /src/main/java/Server/ServerRunner.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/ServerRunner.java -------------------------------------------------------------------------------- /src/main/java/Server/StorageUnit/StorageManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/StorageUnit/StorageManager.java -------------------------------------------------------------------------------- /src/main/java/Server/Utils/DBUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Utils/DBUtils.java -------------------------------------------------------------------------------- /src/main/java/Server/Utils/Http/ServerHttpUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Utils/Http/ServerHttpUtils.java -------------------------------------------------------------------------------- /src/main/java/Server/Utils/Snowflake.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Utils/Snowflake.java -------------------------------------------------------------------------------- /src/main/java/Server/Utils/TweetAnalyzer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farbodbj/Twitter-Server/HEAD/src/main/java/Server/Utils/TweetAnalyzer.java --------------------------------------------------------------------------------