VIETNAM NATIONAL UNIVERSITY HOCHIMINH CITY UNIVERSITY OF INFORMATION TECHNOLOGY ADVANCED PROGRAM IN INFORMATION SYSTEMS HÀ VĨNH PHÚC - PHAM HAO TIEP TESTAMENT MANAGEMENT SERVICE BACHELOR OF ENGINEERING IN INFORMATION SYSTEMS HO CHI MINH CITY, 2020 NATIONAL UNIVERSITY HOCHIMINH CITY UNIVERSITY OF INFORMATION TECHNOLOGY ADVANCED PROGRAM IN INFORMATION SYSTEMS HA VINH PHUC-16520943 PHAM HAO TIEP-16521237 TESTAMENT MANAGEMENT SERVICE BACHELOR OF ENGINEERING IN INFORMATION SYSTEMS THESIS ADVISOR PH. ĐỖ TRONG HỢP HO CHI MINH CITY, 2020 ASSESSMENT COMMITTEE The Assessment Committee is established under the Decision. „ date " by Rector of the University of Information Technology. ACKNOWLEDGMENTS First of all, We would like to sincerely thank the teachers of the University of Information Technology, National University of Ho Chi Minh City, especially the teachers of the Information System Faculty.
It is thanks to the valuable knowledge that the teachers passed through the school hours that have created a stepping stone and solid luggage to help me complete the topic better. In particular, We would like to extend my sincere thanks and deep gratitude to Mr. Do Trong Hop and Mr Nguyen Thanh Binh, thank you two teachers for their enthusiastic guidance and favorable conditions for me to complete this thesis. Thanks to the suggestions and corrections of the two teachers, We can overcome my own shortcomings and errors to better orient the topic development.
Besides, We would also like to thank my friends and especially my family for always cheering and helping me to improve this topic. During the process of implementing the topic, We always put the research, research and development of the topic as a top goal combined with the available background knowledge to be able to complete the topic in the best way. However, in the implementation process, shortcomings are inevitable. Therefore, We look forward to receiving helpful contributions and advice from the teachers to strengthen the existing knowledge and be a prerequisite for me to be able to implement other projects in the future.
Thank you sincerely. TABLE OF CONTENTS ACKNOWLEDGMENTS TABLE OF CONTENTS. LIST OF FIGURES. LIST OF TABLES.ccccccsssscsssssscssssssssssesssseecsnsessnenessecsssnesssssesnsavessnesensseseeeetsnensaneneaeaes viii LIST OF ACRONYMG.
re xi Chapter 1. co tt nh HH ng hư2 Tìm5. HH HH HH HH HH Hà nàn 2 1.6 Report layout Chapter 2.-- 5c tệ th Tình Hà Hà Hà Hư Hà He nHườ4 2.- ó5 tì TT TH HH HH Hà Hà HH ng4 PP No nh .5 REST- RESTFul API in website đesign.1 REST and RESTful API 2. MongoDB Advantages of MongoDB.6 HTML and CSS.7 Several libraries for system 2.1 Node module Date-fns.
AES-256-CTR Chapter 3. SYSTEM ANALYSIS AND DESIGN .2 Use case diagram.-- tt nhìn HH HH HH H gr gr grr grrrrry 16 3.1 Desciption of Actors.2 Description of Usecases. ch nề tì th HH ng tri 20 3.5 Update receiver testament 3.6 Payment of testament 3.10 Pay to active testament 3.11 Package price management 3.13 Send the testament.------ s11 TH HT HH 33 3.1 Sequence diagram about Create new beneficiary .2 Sequence diagram about Create new 'T€StaIm€I(. Sequence diagram about Update Beneficiary .4 Sequence diagram about Update 'Testarmeit.5 Sequence diagram about Create new Admin (Staff).
38 E9 ch on nan. INSTALLATION AND DEPLOYMENT.- - - ---- - S7 SA SH HH ng 64 hs.4 Orientation of topic development.- - Q- Họ HH HH TH 66 iv LIST OF FIGURES Figure 2.1 Relationship between client, API and Server .2 Date-fins Module .4 Node ÏMaÏÏ€TF.1 Use case (ÌÏ4ØTTA1H.2 Activity diagram about Create 'TesfaI€nnf.---< «5s «5s sses ss 20 Figure 3.3 Activity diagram about Create Beneficiary .4 Activity diagram about Update Testament .5 Activity diagram about Edit Testament. -- << s «se sesess 23 Figure 3.6 Activity diagram about Update Testament .7 Activity diagram about Payment Testament .8 Activity diagram about Delete Testament.9 Activity diagram about Edit BenefÏCiary.-os--sssssssssssssse 27 Figure 3.10 Activity diagram about Delete Beneficiary .11 Activity diagram about Delete Beneficiary .12 Activity diagram about Package price managemeni(.13 Activity diagram about Check login’s IS€F.14 Activity diagram about Send Testament .15 Sequence diagram about Create new beneficiary .16 Sequence diagram about Create Testament .17 Sequence diagram about Update Beneficiary .18 Sequence diagram about Update 'Testamenf.19 Sequence diagram about Create new Amiỉn.21 Database DÏaØraIm.1 Connect localdata on MongoA tas .2 Add ip Address CUFT€TIỂ.3 Deploy server and client to Herokw .8 Verify email’s IISLF.9 Create List of Ben€fÏCÏAFFÏ€S.10 Create list of testament .11 Notify user’s ÏOgÏN.12 Payment “S IS€LF.14 Update user information .15 Change the DAaSSWOTC.16 Revenue’s admin or supeFa(ImÏH.17 Testament Management and status’s tes(amen(.18 Button login for user and send all testament for beneficiary .19 Management price ‘s f€S(AIT€TIÍ.20 Create new Admin for Supe? .-- 0< 5555 995995 2sø 63 Vii LIST OF TABLES Table 3.1 Desciption Of ACtOTs .2 Desciption Of Usecases .- 5 3T HH ngư 19 Table 3.3 Class Diagram Package of tabÌ-.4 Class Diagram Payment of tabÌ. G1111 ng re 39 Table 3.5 Class Diagram Testament of table .6 Class Diagram User of table.
TH HH Hy 41 Table 3.7 Database Diagram Package of tabÌe.8 Database Diagram Payment of table. eee eee eseeeeeeeceeeeeeeeeeseeseeseens 43 Table 3.9 Database Diagram Testament of table .10 Database Diagram User of table .1 Description ‘s Landing page .2 Description ‘s Login DAØ©.3 Description ‘s Register paB€. - -- nh HH HH HH ng riệt 51 Table 4.4 Description ‘s Create List Beneficiaries .5 Description Create list of testaments Dage€.6 Description Notify user’s logit.7 Description Payment “S USEF .8 Description Update user’s CUSfOTT.- 5 5S SE +EskEsekseersersrke 56 Vili Table 4.9 Description Update user “s InÍformatiOn.10 Description Change paSSWOT. G1 1v HH ng ng 58 Table 4.11 Description Testament Management and status’s testament.12 Description Button login and send testament for user.13 Description Create new Admin for super admIn.-- s5 --«s5+ 63 1X LIST OF ACRONYMS NO.
Acronyms Stands for 1 API Application Programming Interface 2 HTTP Hyper Text Transfer Protocol 3 JSON JavaScript Object Notation 4 HTML Hypertext Markup Language 5 CSS Cascading Style Sheets 6 REST Representational State Transfer 7 CRUD CREATE,READ,UPDATE,DELETE 8 UI User Interface ABSTRACT The thesis topic “Testament Management Service" is a topic aimed at users wishing to leave content to be done by relatives after they pass through without legal obligations. management on the website quickly and conveniently. In addition, With 2 main functions: the check logs user mechanism and the content security function of the testament to meet the users' requirements easily and conveniently Nowadays, when relationships in society are increasingly complicated, personal information such as (bank accounts, social networks and other sensitive information),the dark sides when the living people do not want to share and reveal to anyone. Current users are still afraid of or distrust the existing security services.
According the above needs, a new security mechanism is born, ensuring that the system is highly secure, Management testament service testament solve that problems. e Build a friendly and easy-to-use interface for users, Testaments will be sent at the right time and in confidentiality of user information. e Construction tools include:NodeJs, API, Typescripts, Html and Css, Angular, MongoDB xi Chapter 1.1 Problem statement In today's life, society is increasingly modern, the relationship between people and people is more complicated. The cultural confusion and conflict between the East and the West became more and more apparent.
Besides, there are many sensitive issues that one cannot share while alive, only when they died they dare to speak out. Examples are bloodline, wealth, etc. Next to material values, it also has soft values, numeric values. Examples are blood relationships, promises many years ago that one could not fulfill while living, secrets that they did not want the law to interfere with, account information, passwords, bank account information.
Their information sharing wants to share their information with a few special people to them, the rest cannot be known.2 Current status Actually ,they can be resolved by writing a testament and having a lawyer archive it or deposited in banks. But this job is very complicated and expensive, at the same time there is a risk of information leakage, as the written forms are easily exposed. Whereas the information they need to send is unnecessary using that method. From these status quo, intangibles still cannot be completely solved, it is only suitable for tangible property.
From that current state, this “Testament Management Service” was created.3 Thesis objective Building a complete testament management service website for users. Meeting the needs of hidden corners that customers cannot share with anyone. Create a web service that users can trust and use. Testament will be sent to the right people at the right time and secure Only the creator and recipient can see the testament'’s content The thesis is developed based on the personal purpose of the user, so it will focus on the niche market.
Feasibility: focus on objects solving blind problems that are not related to law(such as blood relationships, promises many years ago that one could not fulfill while living, secrets that they did not want the law to interfere with) through a regular testament.1 Object Find out the structure, how the website works. Creating and managing testaments in online website based on need and sentimentality without regard to legal issues. Building a database system in accordance with the website functions. Built in functionality to check user logs and activate the content of the testament when it is determined that the user is dead through real-time.
Authenticate email user The beneficiary must answer some sercurity question correctly in order to view testaments.2 Scope The authors only focuses on researching some of the following contents to build applications for the thesis : Apply basic content about Angular, RESTful API , MongoDB , NodeJS and their highlights. Research the basics of libraries like date-fns, node mailer,. and use them to inspect and prompt users 1.5 Methods of implementation Back-end : use NodeJs and MongoDB to build REST API Frond-end :use Angular ,Typescript And several libraries to apply 1.6 Report layout The thesis is divided into five chapters Chapter 1: Problem Overview. An overview of the thesis content.
The content includes: current status and problem setting, topic objectives, research scope and report layout. Chapter 2: Theoretical basis. Introduce and give reasons to choose the technologies used in the topic. Giving general information.
Chapter 3: System analysis and design. In this part, the article will provide about synchronous process diagram, system design analysis, database design, interface design. Chapter 4: Installing and Deploying the System Presentation of the implementation and deployment website, summary of the test execution Chapter 5: Conclusion. Summarize conclusions, highlight pros, cons and development orientation for the topic in the future Chapter 2.1 Theoretical basis - The website has the function of checking user login.
from there if the user is not logged in then prompt them to log in. Check the activation period of the will when the user is not logged in until the expiration time then check if the user is alive or not. - System adopts admin to send testament or login to users when the user forgets - User can create list of beneficiaries of wills list, edit all information - The system guarantees 2 main factors: e Testament is sent to the right person at the right time base on activation time of testament e Whena testament is created, only the user and the person who can know the content of the testament 2.1 Introduction Angular (commonly referred to as "Angular 2+" or "Angular v2 and above") is a TypeScript-based open-source web application framework led by the Angular Team at Google and by a community of individuals and corporations. Angular is a complete rewrite from the same team that built AngularJS 2.2 Features for Angular Angular's structure is the structure of components and services.
Angular is based on model MVC (model - view - controller). Angular also has its own innovations such as: - Updated Angular CLI, Command Line interface — Add new commands, such as ng-update used to upgrade versions or ng-add used to add components quickly .