Skip to content
New issue

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

Project Structure #2

Open
hiralyshah opened this issue Aug 2, 2018 · 0 comments
Open

Project Structure #2

hiralyshah opened this issue Aug 2, 2018 · 0 comments

Comments

@hiralyshah
Copy link
Owner

hiralyshah commented Aug 2, 2018

Name Description
bin/ create server and normalize port
models/ Mongoose schema
models/blog.js Mongoose schema and model for blog data
public/ Static assets (css, img etc)
public/styleshees/style.css Main stylesheet for your app
routes/ controller for different routes
routes/chart.js controller for display different charts
routes/index.js controller for navigation bar
routes/user.js controller for user account management
test/ test folder for inserting test data in database
test/insertdata_mongoDB_test.js insert mongodb data
test/insertdata_mongoose_test.js insert mongoose data
views/ Templates
views/dashboard Dashboard related templates
views/dashboard/barchart.pug Display bar chart
views/dashbaord/linechart.pug Display line chart
views/dashboard/piechart.pug Display piechart
views/dashboard/doughnut.pug Display doughnut chart
views/partials/about.pug About page(rendering test)
views/partials/error.pug  Template for error messages
views/partials/index.pug Navbar partial template.
views/partials/layout.pug Base template.
app.js The main application file.
package.json NPM dependencies.
package-lock.json Contains exact versions of NPM dependencies in package.json.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant