It has been more than a year since the company went bankrupt, but the open source project I worked on when the company went bankrupt was recently featured on GitHub Trending. Looking at this data, I can’t help but sigh.

origin

In November 2017, songge’s company was closed due to poor management. The branch in Shenzhen was closed, while the headquarters in Beijing was still in normal operation.

Then came the people from Beijing, who talked with the employees in Shenzhen one by one about layoff and compensation. The company’s system was quite perfect, and they all went according to the labor contract Law. Some colleagues worried that the company would not go according to the labor contract law in the end, so they thought it was cheaper to take the money first and go first. I was in no hurry to leave for two reasons:

  1. After all, the company is a listed company in Hong Kong, the monk can not run away, Shenzhen closed, Beijing is still running, so I am not too worried about the company’s default.
  2. It is difficult to find a job at the end of the year, and I will leave with compensation in November. There are still two months before the Chinese New Year, so it is not easy to get a satisfactory offer at this time, and many companies close HC at the end of the year.

Based on the above two considerations, I was not in a hurry to leave. When the company said that someone needed to stay until January 31, 2018 to clean up the mess, I won and then stayed.

There’s not much to do when you stay. Paddling strokes for a week, and colleagues call me downstairs: “Lao wang down to chat, then went downstairs with them blow brag, although brag, but most of the time still in the planning for the coming year to look for a job, but I feel so useless, and its planning, every day to something tangible, than to find a job in the coming year to accumulate a little chip.

First try

Thinking of hand began to act, technology stack on the choice of the most popular Spring Boot + Vue before and after the end of separation, the business is going to do a simple blog to try the water, the blog business is relatively simple, do quickly, so, THE V tribe project was born:

V tribe

A simple blog background management, integrated blog editing, publishing, typesetting introduced md editor, blog classification display, remember less than a week to finish, after all, or very easy.

After the release of the V Tribe project, I wrote an introductory README, which, like my previous open source projects, showed a sketch of the project and then explained how to deploy and run it. I feel good about myself, but I don’t get a lot of attention.

In the few concerns, I found that my friends always encounter various problems when running projects. Many people are unfamiliar with the development method of separating the front and back ends, and many back-end engineers do not even understand and have not heard of front-end engineering. Many friends have raised many very simple issues on GitHub. They keep getting it wrong when they deploy the V-tribe project.

On the other hand, because the blog project is relatively simple, many advanced functions in Vue are not used, such as state management and dynamic permission management when the front and back ends are separated. These are not reflected. In addition, it was only December at that time, and it was still early before the Chinese New Year, so I wanted to do a more complex business, and then use all the skills I had not used before. That led to the Micro-personnel project, which is our subject today, appearing on GitHub Trending in June.

Micro personnel

Micro-personnel project, I learned from the experience of V tribe, not to upload the project to GitHub after the project is fully released, but to make changes, every time a function is finished, I write a document, record the idea of implementation, the principle of the code, and then make a tag, and publish to GitHub, so that, Even some novices, following the documentation, can do it completely.

Here are some submissions at the time:

Basically, a new function could be completed every one or two days, and then submitted once. This update frequency continued until January 20, 2018. On January 21, my girlfriend came back from visiting the University of Queensland, and I spent a few days in Shenzhen with her.

On January 31, the company was officially closed, so I went home. I went to my girlfriend’s house first and stayed in her house for more than 10 days. By the way, I completed the function of online chat with WebSocket and submitted two versions.

The following two were submitted at my girlfriend’s house:

The submitted twice, about home for the New Year, my home in on the net and therefore don’t continue to do this project during the Chinese New Year, years later from home to shenzhen got the offer, the same day as they will be busy after work, this project would be updated slowly, didn’t submit a larger version, is mainly the operation of some tinkering.

ALL IN

There is a word called “all in”, which describes my situation very well.

When interest comes, no one can stop it. That period of time often get at home in the evening one or two, go to work normally the next day. I remember that Christmas Eve that year was Sunday, and I still got up on time to go to the company, because my V tribe project was about to be finished that day. I worked in the company until more than 9 o ‘clock at night, finally finished, and the next day it could be released. And then packing, riding a motorcycle from firm sinovac science park there, go north ring road, and then down to the edge of shahe, ride to xili town along the shahe, because it is Christmas Eve, they had no pedestrians along the way, after arriving home, haven’t had dinner downstairs restaurant to eat casually, the owner’s family is preparing for their Christmas dinner, see a guest, I pulled out a person to make me a bowl of noodles, and then I alone while playing mobile phone while eating, their family around the next table to eat their Christmas Eve dinner, this feeling is very strange, lonely and full.

After the meal, I went back to the dormitory and had a video with my girlfriend. Thinking that she would come back from Queensland in more than 20 days, I fell asleep slowly. The next day when I arrived at the company, my V tribe project was officially launched.

When you’re addicted to something, it’s very productive.

During that time, I ride a bike to work every day, while riding a bicycle, his heart is in this function to do better, how to realize the function, thus constantly planning along the way, in the company, put down the bag, quickly turned on the computer each test the ideas on the road, to the very happy, have no a few people have a walk around, And then sit back and do coding.

Have a weekend to company do the two open source projects, at noon to eat, two dogs lazy lying in the middle of the road in the sun, I even a bit jealous (below in nanshan firm sinovac science park nearby, I eat dinner, I like to go a bit further, ets, imperceptible walk to the site, to see such a pleasant scene, the sun in winter, really comfortable).

After the project was open source on GitHub, several friends sent emails hoping to quote this project in their graduation projects. I remember that one of them was a graduate student in the top20 universities in China. I was surprised and excited at that time. Later, there were several friends jia Songge wechat said that they wanted to use this project as scaffolding in the company’s project. Although they could not see their friends’ project, they were very happy to think that their project helped so many people.

These two open source projects also bring me a lot of gains, technical improvement + know many excellent friends, and therefore also published a book, it can be a lot of gains.

On the list

Two days ago, a little friend posted a message saying that he saw my project appearing on GitHub Trending. I clicked on it and sure enough, it was.

I signed up for GitHub in November 2013, but nothing happened for a long time. I’ve worked on several open source projects on and off since then, but nothing happened. I guess one of the reasons is that I didn’t take the project seriously. Starting with micro-hr, I learned that if you want other people to take your project seriously, you have to take your project seriously.

This is a human resource management system that uses Spring Boot + Vue to separate the front and back ends. It has a very complete document:

Project address: github.com/lenve/vhr

You are welcome to click on the original article to view this project.

other

In addition to give you a little advice, if you are the first contact before and after the end of separation, you can first look at the V tribe project, the project whether from the technical point or business, are simpler than micro personnel, V tribe understand, then to learn micro personnel will be much easier.

If you’re new to Java, songo also has a front and back end open source project for you to practice:

  • Github.com/lenve/CoolM…

This project is done early, the function is relatively complete, but the introduction document is not so detailed as micro personnel, you can refer to.

Follow the public account [Jiangnan Little Rain], focus on Spring Boot+ micro service and the separation of the front and back end of the full stack technology, regular video tutorials to share, follow the reply to Java, get the Song brothers carefully prepared for you Java dry goods!