Giter VIP home page Giter VIP logo

pento-time's Introduction

Pento Tech Challenge - Time tracker

Hi ๐Ÿ‘‹
Thanks for taking the time to do this challenge.

The time tracker app is a simple app for tracking time spent on work for freelancers. You can start a new time tracking session, name it and save it. You can also view all past sessions.

Note that the app is a beta version on purpose.

Your task is to:

  • There is a bug when you save a session. Find it and fix it.
  • Either:
    • Add filtering on the sessions list, so the user can filter the sessions by year and month.
    • Add the ability to delete a session.
    • Add a persistent database, so the server can restart without loosing the data.
  • Outline next steps to make this app production ready.

Once again, thanks for taking the time to perform this task. Below follows some documentation on the app and how to get started.

Structure

The app is split into an API and a client.

Client

The client is built using React and Redux. It consists of 2 pages - NewSession and Sessions that are in the containers directory and are directly connected to the Redux store. Any components in the components directory are not directly connected to either store or actions.

Api

The API is a simple Express app, that uses dependency injection to make it easy to swap out implementations of different interfaces. As it is currently a simple CRUD app, it follows a simple flow from routes -> stores -> db and back.

Getting started

Before getting started you will need Docker, Docker Compose and Node on your system.

  • Clone this repo to your local machine
  • Go to the client directory and run npm install
  • Go to the api directory and run npm install
  • Go to the root directory and run docker-compose up

This starts both the client and the server with automatic reloading when saving.

pento-time's People

Contributors

hagbarth avatar

Watchers

James Cloos avatar

Forkers

danielsequeira

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.