We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
阅读: https://scotch.io/tutorials/setting-up-a-mean-stack-single-page-application
app 目录是放后端js文件的,, public目录是放前端的.. 比如app/routes.js是放后端的路由(expressjs), 而public/js/appRoutes放的是前端的路由(angular)
Application structure
- app ----- models/ ---------- nerd.js <!-- the nerd model to handle CRUD --> ----- routes.js - config ----- db.js - node_modules <!-- created by npm install --> - public <!-- all frontend and angular stuff --> ----- css ----- js ---------- controllers <!-- angular controllers --> ---------- services <!-- angular services --> ---------- app.js <!-- angular application --> ---------- appRoutes.js <!-- angular routes --> ----- img ----- libs <!-- created by bower install --> ----- views ---------- home.html ---------- nerd.html ---------- geek.html ----- index.html - .bowerrc <!-- tells bower where to put files (public/libs) --> - bower.json <!-- tells bower which files we need --> - package.json <!-- tells npm which packages we need --> - server.js <!-- set up our node application -->
The text was updated successfully, but these errors were encountered:
No branches or pull requests
阅读: https://scotch.io/tutorials/setting-up-a-mean-stack-single-page-application
app 目录是放后端js文件的,, public目录是放前端的..
比如app/routes.js是放后端的路由(expressjs), 而public/js/appRoutes放的是前端的路由(angular)
Application structure
The text was updated successfully, but these errors were encountered: