Slog101_Front-end development using React framework12


ArthurSlog

SLog-101

Year·1

Guangzhou·China

October 24th 2018

Personal website: http://www.arthurslog.com

CSDN:https://blog.csdn.net/u010997452/article/list/1

GitHub:https://github.com/BlessedChild/ArthurSlog

NPM:https://www.npmjs.com/~arthurslog

dig for gold:https://juejin.im/user/59f2a424f265da432f305c66/posts

sketchbook:https://www.jianshu.com/u/b9ebe10f0534

segmentfault:https://segmentfault.com/u/arthurslog/articles

One moment at a time, one game at a time. We need to see what the wind is doing.

Development Environment MacOS (Mojave 10.14 (18A391))

information source

require: https://nodejs.org/docs/latest-v8.x/api/modules.html#modules_require

module: https://nodejs.org/docs/latest-v8.x/api/modules.html#modules_module

export: https://nodejs.org/docs/latest-v8.x/api/modules.html#modules_exports

path: https://www.npmjs.com/package/path

Start coding

The back-end development specifications and engineering structure were defined.

Create an object config in the main.js file as a configuration file for the entire project

To keep things as neat as possible, no separate global configuration file is used

And all other files just bring in the config object in the main.js file

The specific code is as follows.

server/main.js

Readjusted the reference path

Tested. Back end is working.

The project files have been uploaded to Github: https://github.com/BlessedChild/ArthurSlogStore

The project is in continuous development. The logs can't keep up with the pace of development.

There are partial annotations in the comments of the source code

As you can see from the source code comments, the development process is a trade-off between implementation and time

Spending more time up front to get the development specs right will be much less expensive to maintain and expand later on

But it costs a lot of money in pre-development.

So there's a trade-off between business needs and revenue expectations

At this point, a tentative back-end development specification has been developed and the project structure has been adjusted accordingly.

If you like my post, feel free to like it and leave a comment.

thanks


Recommended>>
1、Android learns simple data storage
2、FDA Pathogenic Bacteria Detection Challenge Results Released Xiamen JiYuan Technology Ranked 2nd Overall
3、Understanding Cloud Computing from the Ground Up Vol 1 What is Cloud Computing
4、Why dont you have a blog yet
5、Putting an end to black flying Chinas first drone detection defense system officially put into trial operationHotspot

    已推荐到看一看 和朋友分享想法
    最多200字,当前共 发送

    已发送

    朋友将在看一看看到

    确定
    分享你的想法...
    取消

    分享想法到看一看

    确定
    最多200字,当前共

    发送中

    网络异常,请稍后重试

    微信扫一扫
    关注该公众号