foreword
Hello everyone, I'm Lin Sanxin
I've noticed a phenomenon for a long time: a lot of people like to do some projects on their own in private . That is, some personal projects, in fact, I think this is very beneficial:
- 1. You can improve your skills in your spare time
- 2. These personal projects can be written on your resume to add points to yourself
Everyone has this question~
- Question: Brother Sanxin, I think the projects I wrote in private are really tasteless.
- Me: why do you say that?
- Q: I wrote it on my resume. I was afraid that the interviewer would think it was low. If I didn’t write it on the resume, I thought it was okay. After all, I can make up the number.
- Me: Small problem, you cook chicken ribs into pig’s feet😋, it’s fine if you don’t hehe
- Just ask? ? ? Can chicken ribs be cooked into pork feet? ? ?
I am so embarrassed! ! !
A brother shared with me a few things he experienced during his job search:
- I really have nothing to write about! ! !
- I really don't have that much energy! ! !
- I'm really embarrassed! ! !
I really have nothing to write about! ! !
When I was applying for a job, I wanted to enrich my project experience, but I really didn't have much to write about. The company only did a few small projects, and it felt like it couldn't be on the table. . .
I really don't have that much energy! ! !
Are you asking me to write my own projects in private? I also thought about it, I also thought about what kind of project to write, but I am a front-end engineer, I don't know the back-end. . . How can I have so much energy to take care of the front and back ends? If you are recruiting people to form a team, everyone is very busy, and it is not convenient to communicate. It is better for me to develop it by myself~
I'm really embarrassed! ! !
Yes, Nodejs is also a part of the front-end. In the end, I used it to write some interfaces, and I also wrote the whole project, but I had to write the front-end and back-end at the same time, which resulted in:
- 1. The back-end is not good, the writing is bad, and the quality of the interface is too poor
- 2. I want to take into account the front and back ends, which eventually led to the poor quality of my front-end writing, which did not reach my usual level.
- 3. When the works are displayed, the interviewer is holding back laughter
i'm crying~ - 4. The bamboo basket is empty~ It's better not to write something~ It's too embarrassing~
How can I write a good personal project?
I really encourage everyone to do more projects in private, learn more techniques, and improve themselves, but everyone's energy is limited, which exposes several problems:
- Can you juggle front and back?
- Can you allocate enough energy to the front end?
What if someone wrote the backend for you?
Many people think of it for the first time - Mockjs , yes, in the past, when we didn't want to write the backend, we would use Mockjs to generate fake data to simulate the backend , but after using so many Mock tools , I found some problems:
- <span style="color: red">It's not pure enough, you still have to write some server-side code</span>
- <span style="color: red">It's not simple enough, you have to go to the Mock document to use it</span>
- <span style="color: red">It is not convenient enough, after defining an interface, it cannot be debugged immediately</span>
- <span style="color: red"> is not flexible enough, when you want to change the simulated data of a field, you have to find them one by one</span>
When I am writing a personal project, I only want a pure front-end, simple operation, convenient debugging, and flexible modification , so I hope that the mock tool I use should have the following characteristics:
- Pure enough, I just want to write the front end, not the back end
- Simple enough, there are ready-made mock rules for me to choose
- It is convenient enough to define the interface at any time and debug at any time
- Flexible enough, when changing fields, you can quickly find and modify them through the visual interface
Therefore, when we choose a mock tool, we must choose a tool that can make us the most efficient and most comfortable to use, so that we can get the greatest personal improvement when doing personal projects! ! !
The artifact that turns chicken ribs into pig feet - Apifox
Apifox = Postman + Swagger + Mock + JMeter . It integrates interface documentation tools, interface mocking tools, interface automated testing tools, and interface debugging tools, improving R&D efficiency by 10 times.
I'm using one of its features recently - Cloud Mock
This is a different Mock feature, and it's a joy to use it to mock the backend! ! ! I can really work on my personal projects worry-free! ! !
1. Create a new personal project
First enter the web version address of Apifox, and then create a new project (name it casually~)
2. Create a new interface
Click New Interface to create an interface
Scroll down, and you will find the return response section, where you can time the return data structure of this interface, and select Mock rules here. Apifox provides a lot of Mock rules for you to choose from! ! !
real. . There are many Mock rules to choose from, I have everything I can think of~
Then scroll down, you will find the response example section, this section is amazing, it can generate an example based on the return response you just defined, awesome~
Then click Save, and we're done creating an interface! ! ! How about it? Is it super fast? I did a rough calculation, it only took me 2 minutes to create this interface~ You heard that right, 2 minutes ~~
3. Open Cloud Mock
The most awesome part is here! ! ! Turn on the cloud Mock function!
Then we return to the interface management , select the interface we just created, remember to switch the running environment in the upper right corner to the remote Mock
4. Debug interface
All is ready except for the opportunity. Finally, we only need to click send to debug the interface immediately. Looking at the generated data, are you excited ? I wrote and debugged an interface in less than 5 minutes. With Apifox, I am a full-stack engineer! ! !
5. Front-end request
The front end only needs to copy the link of this interface and make a request
const request = async () => {
const data = await axios.get(
"https://mock.apifox.cn/m1/1033520-0-default/api/v1/shop"
);
console.log(data);
};
Apifox - the pig's foot in the API tool world (protagonist)
Apifox is undoubtedly the best API documentation tool, API automated testing tool, API Mock tool, interface documentation management tool, and interface documentation generation tool. It is a well-deserved protagonist in the field of API tools today! ! !
purely
Apifox is like a pure friend of every developer, whether it is front-end, back-end, testing, he can always help you when you are facing development efficiency problems:
- Mock function: front-end staff ecstasy
- Interface document function: back-end staff directly shouted
- Interface testing function: testers say it is very labor-saving
Simple
As you have just seen, I create an interface in 2 minutes, and complete the creation and debugging of the entire interface in 5 minutes. It's simple, and within five minutes, I upgraded from a front-end programmer to a full-stack engineer, awesome! ! ! , you can become a full-stack boss with a few mouse clicks, why not do it?
convenient
After I define the interface, I debug it directly, and there are no complicated steps in the middle to block me. One word - cool! Two words - smooth! Three words - really smooth! ! !
Four words - really convenient! ! !
flexible
As a visual API documentation tool, Apifox provides functions such as grouping and searching, allowing you to find the interface you want to modify in a very short time, and the interface structure of the modified interface is clear and clear at a glance. You can change it wherever you want~
friendly
Apifox is not only a powerful API documentation tool, but also a tool that is very friendly to developers~ I have to admire the big guys of the Apifox team who patiently answer users' questions in more than 100 groups every day, and for each The needs of each user are taken very seriously.
I still remember the last time I inadvertently raised a small request in the group. A few days later, I even forgot about it, but the boss of Apifox actually said to me: "The request you raised a few days ago is online today~" , Thumbs up for Apifox from the bottom of my heart~👍🏻👍🏻👍🏻
Summarize
Apifox is a powerful tool that is very simple to use. It provides easy-to-understand help documentation for everyone to use! ! ! Improve development efficiency in one fell swoop! ! !
- Official website: link
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。