Usage:
- All in one command for installing and starting backend server: "sh launchBackend.sh";
- Open new terminal;
- All in one command for installing and starting frontend server: "sh launchFrontend.sh";
More detailed:
-
Run the command 'npm install' in both the backend and frontend folders
-
To run the puppeteer scrapper within backend/puppy launch 'node scrapeTesla.js' (OPTIONAL: a set of data is already present in the database)
-
Launch the backend with 'npm start' (running on port 3001), Launch the frontend with 'npm start' (running on port 3000)