forked from external-repos/noisedash
1.3 KiB
1.3 KiB
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Runs the server
npm run server
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Directory Summary
Here are some of the more important files and directories:
config/default.json: Contains the default configuration fileserver/*: Where all of the node server related code isserver/app.js: The main server file where server settings are setserver/db.js: Where the database is createdserver/logger.js: Where the logger is created and configuredserver/bin/www.js: The entry point of the server application (what you run to start the server)server/boot/*: These are run on server startupserver/routes/*: Where all of the server routes and logic are definedsrc/*: Contains all the frontend codesrc/components/*: Where all of the Vue components are defined, split into vue and js files for each componentsrc/router/index.js: Where all the routing and route-protection logic is definedsrc/views/*: Contains all the views