Write a small program for girlfriend (1) - purpose and needs

Since I met my girlfriend, I have developed no less than three programs for her. When she was doing a micro business, I wrote a simple Android-based management system for her; when she wanted to find information, I helped her climb down all the information and make it Search engine; and today (in fact, the program has been developed for a long time, and I have been babbling about the article review record, but I have been procrastinating...), I wrote such a task management for our love.

The cause of the matter.. is from such a dialogue
write picture description here

Well, in love, it is not a vigorous love that overflows, but a small stream of water. Two people complement each other so that each other can make progress every day. So based on such a purpose, I came up with such an idea, I want to write such a thing to use all my knowledge, and expand my understanding of the unknown technology through this program.

The articles of other great gods are all in a series, so I also plan to use a series to write this process.
First of all, although the sparrow is small and complete, the technology stack involved cannot be written clearly in one article.
Second , I want to cultivate my own blogging habits through this series. The things I wrote before are summed up after reading other people's knowledge. , this time I want to be an author myself, and use my articles and actual projects to explain some technical things.
Finally , writing in series can provide some reading volume.

The article series will be roughly divided into the following articles (may be revised)
Write a small program for girlfriend (1) - Purpose and needs (this article)
Write a small program for girlfriend (2) - Database design (not written)
Write a small program for girlfriend (3) - Design and implementation of server-side interface based on springboot (not written)
Write a small program for girlfriend (4) - Design and implementation of front-end applet (not written)
For female A friend writes a small program (5) - How to simplify deployment with docker (not written)
Write a small program for your girlfriend (6) - Combine docker to implement devOps (not written)
Write a small program for your girlfriend (7) - - Optimized the introduction of redis (not coded, not written)
to write a small program for girlfriend (8) - ——Implementation of instant messaging based on moongodb (not coded, not written)


To start this article with topic two, requirements

Let's take a look at the QR code of the applet and what it looks like now...
write picture description here

write picture description here

Isn't it full of fun... In fact, to tell you the truth, it's quite a sense of accomplishment, after all, it's just a practice thing.

To make a program, first of all, the first thing is to give a definition of tall and very cool to attract users. After thinking about it, I wrote it like this

kikiTarget is a task management software for couples and friends. The tasks are quantified by points, and task completion is facilitated by the supervision of couples (friends). The supervised role function of an account is to create tasks. The function of the supervisor role is to review the results of the other party's tasks, set points and prizes, and so on. Account registration contact [email protected]

Does it feel like an Internet product is very cool? That's a must. After all, there is only one server that can't just register and mess around. When you get hacked, you can't bear the pressure. Hey-hey

Next, look at the requirements. Don't look at it as a simple conversation, but these few sentences can summarize many, many things. The following requirements are written before development.

It is very necessary to summarize the requirements before software development. Whether it is from enterprise-level development or outsourcing-level development, it is very helpful to define the requirements for subsequent development. The main advantage is that it allows you to write correct code, not Repeated modification modification modification.

Requirement description of kikiTarget task management platform
1. Purpose In
today's impetuous society, it is increasingly difficult for people to control their willpower, time is often fragmented, and there is a lack of motivation for important and non-urgent tasks, resulting in procrastination. This platform aims to help users quantify tasks, promote users to be positive through supervision and rewards, and achieve goals through daily accumulation. The first version tentatively planned to achieve the purpose of completing the task by means of supervision between lovers.

2. Requirements
2.1 Role
2.1.1 Supervisor: The function of the supervisor is to view the task list of the supervised person, set "prize" for the supervised person and redeem the points for the prize, and give the supervised person a prize by way to encourage the supervised to actively complete the task.
2.1.2 Supervised: The function of the supervised is to customize the task, including the content of the task, the deadline for the task, the reward for task completion, and the penalty for task timeout. When the supervised points reach a certain value, they can go to the reward list to exchange for prizes, and then exchange them with the supervisor.
2.1.3 User: A user has the above roles at the same time, and the corresponding relationship between the supervisor and the supervised is a one-to-one relationship.
2.1.4 Super administrator: tentative (actually, maybe only we use it ourselves, so we don't need a super administrator at all haha)

3. The specific process
3.1 The administrator sets the supervision relationship between the supervisor and the supervised (initially only through the database configuration)
3.2 The supervised
3.2.1 Create a task (including task content, task deadline, task completion reward points, 3.2.1
View the task list, view the currently running task list and historical task list, you can see the status of each task
3.2.2 Complete the task, click the Finish button to complete the task and submit it to the supervisor for review
3.2.3 View personal information, view and modify personal information, personal points information
3.2.4 View the list of rewards and exchange for prizes, click exchange to generate an exchange record, and exchange it to the supervisor with a screenshot (the exchange method here is relatively simple, But... I really can't find another good way)
3.3
Supervisor 3.3.1 View the task list of the supervised person, you can view the task information of the supervised person
3.3.2 Review the list, check the completion information submitted by the supervised person, And conduct an audit. Passing the task means that the task is completed and redeeming points. If the task is not passed, the task is still in progress.
3.3.3 Set the prize, set the prize for the supervised person, provide the thumbnail of the prize, the value of the prize and the corresponding points
3.3.4 View the prize list, check the prize list set for the supervised person, and provide the function of modification and deletion

4. Implemented technology stack
4.1 Server side: use springboot+wrapper+mysql
4.2 Front end: WeChat applet (because I haven’t touched applet before)

5. Deployment
5.1 Tencent Cloud Server (cheap student server)

With the requirement document, in fact, it is directed to the requirement document during development. After a function is completed, the corresponding sentence is marked with color, so that you can probably know what interface to write, so the interface document is omitted. Write, start immediately. About the theme color is defined as her favorite green -. - Let's just go with the name, the logo is right, and it was drawn directly by Meitu Xiuxiu.

This article is mainly to record, yes, I am such a programmer who understands romance, has technology, and can rapper. The following articles start to write the technology and ideas of actual development!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326160632&siteId=291194637