This repository contains the source code for the Fuel Tracker application, a project from the codejam-2.0 challenge.
Follow these instructions to get the project up and running on your local machine for development and testing purposes.
Make sure you have the following software installed on your system:
The application is built using the following technologies:
-
Frontend: ReactJS (Vite)
-
Backend: .NET Core
-
Database: SQL Server, Entity Framework
-
Styling: Tailwind CSS
-
State Management: Zustand
-
API Handling: Axios
-
Backend Simulation: Mock API integration
-
Clone the repository
Open your terminal or command prompt and run the following command to clone the project from GitHub.
git clone https://github.com/omdataart/codejam-2.0.git
-
Navigate to the project directory
Change your current directory to the newly cloned project folder.
cd codejam-2.0
-
Checkout the
master
branchEnsure you are on the
master
branch. This is typically the default branch after cloning, but you can confirm by running:git checkout master
-
Build and run with Docker Compose
Use Docker Compose to build the necessary images and start the application containers.
docker compose up --build
http://localhost:3000
After the command finishes, the application will be running. You can access it by navigating to http://localhost:3000
(or the port specified in your Docker configuration) in your web browser.