This is a social network for pets. It may be tested here: SpringPetSpace
- How to run app
- Tested systems
- Tested browsers
- Tutorial
- Download and install java 9
- Download and install postgres 10
- Download and install tomcat 8.5
- Download latest war file from releases
- Deploy SpringPetSpace-1.0.war by tomcat 8.5
- cd $YOUR_PATH\apache-tomcat-8.5.24\webapps\CRUDPetSpace-1.0\WEB-INF\classes
- Find schema.sql
- Uncomment CREATE DATABASE pet_space; in schema.sql file and run sql script
- Find data.sql and run sql script
- Windows 8
- Heroku (PaaS)
- Google chrome desktop 64 version and above
- Google chrome mobile 64 version and above
This is social network service SNS. This system contains three type of user essences: USER, ADMIN and ROOT. These essences extends is an abstract essence. The ROOT essence is main and most credential user. This essence may be management other essences. The USER is a most popular essences because it's contains main functions such as find friends and adding friend, send messages few friends each shipment new message, follow and unfollow pets. The ADMIN essence extend the USER and adds a ${Add species} function. See all use cases at the next diagram.
DB schema build of using IDEF1X data modeling language. This logical db scheme was develop with restrictions which helps implements integrity of the database. See the details in the following scheme.
In this project was tested postgres DBMS physical schema in the following image you can see physical diagram.
This physical db scheme was develop with restrictions which helps implements integrity of the database.
Go to Pet Space. You are see next image.
Click to ${Sign Up} button. Fill registration data. You can see example in the next image. If you enter verified data. You should be see green notification about completed action. Then click on ${Sign In} left button and enter your nickname and email. After success registration you have to enter your sign up data and click ${Sign In} button. As a result you will sign in Pet Space system.
User role is a base role. The role can use main system capabilities. All capabilities see in Use Case diagram.
Sign in Pet Space as user essence. After success authentication you should be see the next image. Your role should be USER.
To adds your pet click on the ${Add pet} button and fill data. Click on the ${Submit} button. If you enter valid data you should be see green ${Pet added} message in the left bottom part. If you back to home page you can see your pet in a ${Your pets} table of the bottom part your page.
To request to friend click on the ${Find friend} button. After open new page fill data as the next image.
If your data was valid you have to see another account. Click on ${Request} checkbox under ${Add friend request} column. Next you should be see success notification of the top right corner as the next image.
If you back to home page you can see your request of friend in a ${Your friends} table ahead of the your ${Your pets} table on your page as the next image.
Requested account have to change in drop-down list state REQUSTED to APPOVED in the table name ${Your friends} and column name ${Friend state} on the home page. You can see as the next image.
After success request your friend you have to see changed state REQUSTED to APPOVED as ahead chapter. You should be see next presentation.
To send message your friend click ${Messages} link. After change location from ${Home} page to ${Messages} page choose one or a lot of accounts and write new message. If you do preview steps you should be see success message in the top right corner. These steps are present in the next presentation.
After success send your message your should me see next notification on the right bottom corner. Your message notification you can see the next image.
After get your new message you can mark as read new message with two ways: First way click ${✓} on the message notification. See as the next presentations.
Second way click ${Messages} on the top page and all messages will be marked as read.
Admin role extends user. The admin difference of user only one option. The option is adds new pet species. Other capabilities see in Use Case diagram.
Sign in Pet Space as admin essence. After success authentication you should be see the next image. Your role should be ADMIN.
To add new genus pet you should be has ${ADMIN} role. Next go to ${Home} page and click on the ${Add genus pet} button. After redirect ${Add genus pet} page input new ${Genus pet} name and click on the ${Submit} button. After valid data you have to see success ${Genus pet added} message. New added genus you can see in the {Genus pet} table. If your genus pet is success added you and other users can use your genus pet name. See as the next presentation.
Root role is a general role. The role can manage other roles such as user and admin. Other capabilities see in Use Case diagram.
Sign in Pet Space as root essence. After success authentication you should be see the next image. Your role should be ROOT.
Sign in Pet Space and go to home page. Next search ${Actions} column and click needed button in row. After successful operation you saw green notification about completed action. See as the next presentation.
Sign in Pet Space and go to home page. Next search ${Role} column and choose needed option in few variants. After successful operation you saw green notification about completed action. See as the next presentation.