Dispatchly is a tool for dispatchers to manage tasks for different drivers. A Task is a distinct job per driver that has a start date, end date and an operation. Dispatchly provides a unique and convenient way for you to efficiently manage your resources.
Clone the repo and navigate to the root folder
git clone git@github.com:rumsrami/dispatchly.git
cd dispatchly
- Install docker-cli and docker-compose
- From the root folder run the client and the server
make compose-up
- Access the app using the browser
http://localhost:8080
-
This builds the client and runs it on Nginx
-
The server will run and listen to requests
-
Maps ports 8080:80 (client) 9000:9000 (server)
-
make compose-down
to teardown the created containers and network
- Install Go v1.14+
- From the root folder run the following in sequence
1. make tools
2. make run
Server will run on port 9000
In a separate terminal window
- Navigate to root folder
cd dispatchly
- Then the client folder
cd react-client
- Run
yarn
- Run
yarn start
Client will run on port 3000
- Create new tasks by updating the driver's name, task type, week, day and time
- Task will show up in the dispatcher timetable
- You can delete tasks right from the table by clicking on the delete icon
- You can update the task using the pen icon
- Updating the task will overwrite existing tasks with time conflicts
- You cannot create a new task unless you delete any time conflicting tasks