To run the Node.js server part with Eclipse, you can follow these steps:
Open Eclipse and navigate to your project directory. Make sure you have Node.js installed on your system. Open a terminal or command prompt and navigate to your project directory. Install the required dependencies by running the following command: npm install Once the dependencies are installed, you can start the Node.js server by running the following command: node app The server should now be running. You can access it by opening a web browser and navigating to http://localhost:4000
Or you can click on the run button on eclipse.
To access Calculate Route use case: Note: User has to first go to calculate route page from home screen nav bar.
- The SkiSavvy application provides Skiers with an overview of the ski area.
- The SkiSavvy application requests Skier provide a start location.
- The skier selects the start location.
- The SkiSavvy application requests the Skier to provide an end location.
- The skier selects the end location.
- The SkiSavvy application requests the Skier to provide info about acceptable slope difficulty levels.
- The skier enters slope restrictions. 7a. The skier requests the SkiSavvy application to use Skier’s stored profile. 7b. The SkiSavvy application retrieves Skier’s profile and uses it to determine acceptable difficulty level. 7b.1 No profile is available. 7b.2 SkiSavvy application informs Skier about missing profile. Use Case resumes at step 7.
- The application prompts user to calculate route.
- The skier clicks on calculate route.
- The SkiSavvy application calculates possible routes to the requested destination (based on restrictions).
- The application displays all possible paths below map.
- SkiSavvy application requests the Skier to select a route based on indicated criteria (e.g., fastest, longest, easiest, minimum lift usage)
- The skier selects one of the options.
- The SkiSavvy application displays the desired route (based on the selected criteria).
- The application displays path based on criteria under map.
- The application offers the skier to reset all options or to go back to the previous route.
Created with Nodeclipse (Eclipse Marketplace, site)
Nodeclipse is free open-source project that grows with your contributions.