Painterino Online Paint
1.0.0
一個由Javaee7製成的簡單多用戶Web油漆應用程序。



這些說明將使您在本地計算機上啟動並運行該項目的副本,以開發和測試目的。有關如何在實時系統上部署項目的註釋,請參見部署。
對於這個項目,我使用了Ajax系統。通常您想使用Web插座或WEBRTC API。如果您想將該項目擴展到更大的受眾群體,我強烈建議使用實時通信API。
您需要安裝什麼東西
You need Tomcat server 8 or above installed.
Locally installed MySQL or a MySQL server.
Compatible IDE, Intellij IDEA recommended for this project.
Web application 3.1 ( Configured web.xml is included )
對於MySQL數據庫
You have to edit paintLogin.java Servlet to handle SQL communications if it is not compatible with your database.
Also you need to configure context data source and fill the necessary blanks.
If you want to use any database other than MySQL, you have to make necessary changes.
對於Tomcat應用程序服務器
Use Tomcat 8 or above. If you are running in online server like Amazon Elastic Beanstalk read the steps in paintLogin.java
and make changes to Data Source.
這是一個簡單的應用程序,因此它具有一個簡單的數據庫。 SQL腳本在下面。
CREATE TABLE Users (
UserID int NOT NULL AUTO_INCREMENT,
Username varchar(40) UNIQUE NOT NULL,
UserPassword varchar(40) NOT NULL,
UserEmail varchar(40) NOT NULL,
PRIMARY KEY(UserID),
CONSTRAINT users_unique UNIQUE (Username)
);
或者,有正確的命名約定。
CREATE TABLE users (
user_id int(11) NOT NULL AUTO_INCREMENT,
username varchar(40) UNIQUE NOT NULL,
password varchar(40) NOT NULL,
email varchar(40) NOT NULL,
PRIMARY KEY(user_id),
CONSTRAINT users_unique UNIQUE (username)
);
如果您想為此項目做出貢獻,您可以通過電子郵件發送我[email protected],也可以提取請求。
該項目沒有版本操作,並且是通過學習目的進行的。
此項目已獲得MIT許可證的許可 - 有關詳細信息,請參見許可證文件。
JScolor有不同的許可證。 jslicense-有關詳細信息,請訪問他們的頁面jscolor
Gson有不同的許可證。許可證 - 有關詳細信息,請訪問他們的頁面GSON
連接器/J許可證 - 有關詳細信息,請訪問他們的頁面mysql
自舉許可證
如果您有任何疑問,請郵寄我[email protected]