This is an Express + React.js application for creating, displaying, updating, and deleting scenarios and vehicles. The application allows users to simulate vehicle movement within a scenario based on predefined parameters. It utilizes a Node.js server for handling GET, PUT, POST, and DELETE requests and stores data in a JSON file.
- Create, display, update, and delete scenarios and vehicles.
- Simulate vehicle movement within a scenario.
- Proper validation to ensure vehicles' positions are within the graph container size.
- Sidebar navigation for easy access to different sections of the application.
- Navigate to the frontend folder.
- setup using
pnpm i, for dependencies - Build files using
pnpm run build - Start the development server using
pnpm run dev
- Clone the repository.
- Navigate to the backend folder.
- Run
pnpm ito install all dependencies. - Run
pnpm run buildto build the project. - Run
pnpm run startto start the server.
NOTE: Frontend files should be built before building and running backend files, as they are needed by Express to serve as static files.