Code Monkey home page Code Monkey logo

jobs.tradie.kv's Introduction

Developer Technical Test

This partial application was created to present to a technical team for review.

Some features of the software;

  • Filter and sort the list of jobs
  • View a jobs details and add/edit notes for selected job
  • Change the status of a job

The application is a standalone demo requiring no additional WAMP/LAMP dependencies. It has been built and tested on Windows and WSL:Ubuntu. If the application requires rebuilding, there are two batch files provided. The rebuild assumes there is an existing Go installation on the host computer. The provided batch files will download the required 3rd party packages for the build process.

Building

This application uses the Go programming language - where the latest was Go 1.18.1 as of writing this application. If you do not have Go installed on your system, you can acquire a copy from Go.dev. The go1.18.1.windows-amd64.msi was used to build this application.

To run the server on your Windows system:

  1. Run buildpkg.cmd in the jobs.tradie folder to build the binary (jobs.tradie) using non vendored packages
  2. Run buildvendor.cmd in the jobs.tradie folder to build the binary (jobs.tradie) with the vendor
  3. Run the binary jobs.tradie.exe
  4. Browse to http://localhost (the port can be change in the code of 80 is not working) to test the application out.

Non Windows

Testing has been performed on WSL but not MacOS. However, the commands in buildpkg.cmd and buildvendor.cmd can be run manually to build and run this demo.

Build by pkg

export GO111MODULE="on"
export GOFLAGS="-mod=mod"
go mod download
:: strip debug info during build
go build -ldflags="-s -w" .

Build by vendor

export GO111MODULE="on"
export GOFLAGS="-mod=vendor"
go mod vendor
:: strip debug info during build
go build -ldflags="-s -w" 

Dependencies

The application uses the following Go packages to build;

Datastore

The application does not rely on a separate database to function. There is demo data store as a JSON file in the data folder. This will be imported in a Clover/Badger collection when the application is run for the first time. Thereafter the application will use the collection each time it is executed.

The data is stored as key:value pairs ONLY for the purposes of this demo. i

Sample screens

Job updates page Job updates page

jobs.tradie.kv's People

Contributors

yonush avatar

Stargazers

Katherine M  avatar Stefano Scafiti avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.