https://docs.google.com/document/d/1yHU9K4LfDcPN-GfYdeuYOiC0UxtRbB_Nj04wZVxDShk/edit?usp=sharing
Welcome to the Fleet Manager Admin Portal! This web application allows administrators to efficiently manage and oversee the entire fleet.
The admin account for testing is:
- Email: test@gmail.com
- Password: test
Follow these instructions to get the admin portal up and running on your local machine.
-
Node.js: Make sure you have Node.js version 18 installed. You can download it here.
-
pnpm: Make sure you have
pnpm
installed. You can install it globally using the following command:npm install -g pnpm
-
Clone the repository to your local machine:
git clone https://github.com/lcsvcn/fleet-manager-admin-portal.git
-
Navigate to the project directory:
cd fleet-manager-admin-portal
-
Install dependencies using
pnpm
:pnpm install
-
Open the
/constants/index.js
file and uncomment the testing baseUrl:// Use below for testing export const baseUrl = "http://localhost:3100/api/v1";
The Fleet Manager Admin Portal depends on the Fleet Manager Backend. Make sure to set up and run the backend server by following the instructions in the Fleet Manager Backend repository.
-
Start the development server:
pnpm start
-
Open your browser and visit http://localhost:3000 to access the admin portal.
-
The Admin user email is test@gmail.com and user password is test. This user is hardcoded an unique, there is no other user that will allow login.
In the /constants/index.js
file, configure the baseUrl
for API requests. Ensure it matches the appropriate value for your Fleet Manager Backend API.
// Use below for testing
export const baseUrl = "http://localhost:3100/api/v1";
- Log in to the Fleet Manager Admin Portal using your administrator credentials.
- Utilize the dashboard to manage and oversee the entire fleet.
- Customize settings and preferences as needed.
We welcome contributions! If you find a bug or have a feature request, please open an issue or submit a pull request.
This project is licensed under the MIT License.