Closed Sushannt closed 1 year ago
Renamed 'traffic-dashboard' and 'traffic-sniffer' directories to 'client' and 'server' respectively.
issue #223
Along with renaming directories, I made changes to the following files. fyi: client means 'traffic-dashboard', server means 'traffic-sniffer'
client
server
backend/build: ./server
frontend/build : ./client
"client": "file: client", "server": "file: server"}
"scripts" : {
"dashboard": "cd ./client && npm run dev", "sniffer": "cd ./server && npm run dev", "build:dashboard": "cd ./client && npm run build", "build:sniffer": "cd ./server && npm run build", "format:dashboard": "cd ./client && npm run format", "format:sniffer": "cd ./server && npm run format", "build": "concurrently --kill-others \"cd ./server && npm run build\" \"cd ./client && npm run build\"", "dev": "concurrently --kill-others \"cd ./server && npm run dev\" \"cd ./client && npm run dev\"", "dev2": "concurrently --kill-others \"cd ./server && npm run dev\" \"cd ./client && npm run dev2\"", "demo": "concurrently --kill-others \"nodemon dummy-server.js\" \"npm run dev\"", "format": "prettier -w . && git add .", "test:server": "cd ./server && npm test", "test:client": "cd ./client && npm test", "test": "concurrently \"npm run test:server\" \"npm run test:client\"",
},
"dependencies" : {
"client": "file:client", "server": "file:server",
} "files": [
"server", "client"
], "bundleDependencies": [
"client", "server",
],
server/.env server/node_modules/* client/node_modules/* server/node_modules/.bin/mime
- cd into server.
- cd into client.
If the changes are visual in nature, please provide screenshots or GIFs that showcase the before and after effects.
Outline the steps to test the changes made in this pull request. Provide as much detail as necessary so that reviewers can easily verify the changes.
npm run test
Include any other relevant information, context, or considerations related to this pull request.
Please make sure you've done the following before submitting this pull request:
Description
Renamed 'traffic-dashboard' and 'traffic-sniffer' directories to 'client' and 'server' respectively.
Related Issues or Pull Requests
issue #223
Proposed Changes
Along with renaming directories, I made changes to the following files. fyi: client means 'traffic-dashboard', server means 'traffic-sniffer'
client
server
backend/build: ./server
andfrontend/build : ./client
"client": "file: client", "server": "file: server"}
}'"scripts" : {
},
"dependencies" : {
} "files": [
], "bundleDependencies": [
],
- cd into server.
For the frontend- cd into client.
Screenshots (if applicable)
If the changes are visual in nature, please provide screenshots or GIFs that showcase the before and after effects.
How to Test
Outline the steps to test the changes made in this pull request. Provide as much detail as necessary so that reviewers can easily verify the changes.
npm run test
Additional Notes
Include any other relevant information, context, or considerations related to this pull request.
Checklist
Please make sure you've done the following before submitting this pull request: