jiayisheji / jianshu Goto Github PK
View Code? Open in Web Editor NEW仿简书nx+nodejs+nestjs6+express+mongodb+angular8+爬虫
仿简书nx+nodejs+nestjs6+express+mongodb+angular8+爬虫
大牛,项目怎么运行呀
偶然在 segmentfault 看到这个项目,非常喜欢。所以跟了过来,看到项目刚刚启动不久,而且使用了 express .
所以想咨询下作者,有没有打算更换为 koa2 ,自发版以来许多公司的新项目都会优先考虑使用了。作为新教程里的主要框架,若是能迎合这一点,我觉得会吸引更多的学习者吧~
只是作为小小的建议
另外,感谢推出这么全面的教程!加油~
刚开始接触typescript,麻烦问一下作者用的什么开发工具?
感觉bug还挺多,例如
在service/src/controllers/user.ts中,import {Article} from "../../src - 副本/models/article";路径错误
你好!试了下代码,在获取具体文章的时候,通过cheerio来获取$('[data-name=page-data]').text()
是有问题的,结果为空,改成.html()
即可,另外,使用JSON.parse()
的时候一定要try,catch
来捕获下异常。
@jiayisheji ,大大,这些天一直在联调web端和servic端,自己出的问题还挺多,应该是通过调用webApi中的路由,然后使用大大推荐的postman查看数据是否正确,放到web中就可以了吧?但是不知道是不是我环境问题,还是步骤问题,一直都读取数据不成功,大大能给下具体这方面的步骤吗?或者相关的教程?
另外,发现github上有个类似的jianshu前端,和大大用的技术类似,可以参考下https://github.com/jeneser/jianshu
爬取详情的时候就会报这个错误?为什么?
You can write detailed instructions before launching the site or record a video, I think it will come in handy not only to me, but to others!
Thank you very much for your hard work and efforts!
Yours faithfully...
行行行
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.