This is a simple vehicle tracking system built with React and Express.js. The application fetches and displays a list of vehicles and their details.
- π Displays a list of vehicles with their VIN number, registration number, owner, and online status.
- π‘ Fetches vehicle data from a backend server.
- Frontend: React, React-Bootstrap
- Backend: Node.js, Express.js
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- npm
- Clone the repository:
git clone https://github.com/Eric11/Vehicle-Data-FullStack-App.git
- Navigate to the frontend directory:
cd Vehicle-Data-FullStack-App/frontend
- Install the frontend dependencies:
npm install
- Start the frontend:
npm start
- Open a new terminal window or tab.
- Navigate to the backend directory:
cd ../backend
- Install the backend dependencies:
npm install
- Start the backend server:
npm run start
The frontend will start running at http://localhost:3000
and the backend will start running at http://localhost:4000
.
Run npm test
in the respective frontend or backend directory to execute the unit tests.
Run npm run build
in the frontend directory to build the project for production.