在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):sawicky/Mastodon开源软件地址(OpenSource Url):https://github.com/sawicky/Mastodon开源编程语言(OpenSource Language):JavaScript 63.0%开源软件介绍(OpenSource Introduction):MASTODONExpress file structure:app.js: runs the server, main core file for the application Models: holds model(db) files Public: css, javascript and images Routes: renders the HTML pages requested by the user View: html files, handlebars template engine (just html but can embed variables) How it works:“app.js” runs the server on port 3000, then it looks at the url requested and finds the route to display the HTML file. Run the server
What to do:When you create a new handlebars (html) file you need to do the following: For example lets create an about page.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论