Git Product home page Git Product logo

workplace's Introduction

Workplace

Time sheet application for organizations.

Workplace demonstration

Created with Loopback, Angular and Angular Material

UI for this project is compiled from repository: Workplace UI

Installation

Method 1 (With docker and docker-compose)

  • Clone the repository.
  • Modify configuration files in the repository directory as needed.
  • Open terminal in the repository directory and run command docker-compose up -d mysql adminer.
  • Navigate to http://localhost:8085/?server=mysql&username=root in your browser.
  • Login by providing password as password.
  • Create a database named workplace.
  • Head back to terminal and run command docker-compose up.

Method 2 (Run directly on your workstation)

  • Install NodeJs(version >=8).
  • Install and start mysql(version >= 5.7.21) server.
  • Create a database table workplace
  • Clone this repository.
  • Modify configuration files in the repository directory as needed(modify db host address, smtp configuration etc).
  • Install dependencies by running command npm install --production.
  • Run the application with command npm run start-production.

After installation application can be accessed with url: http://localhost:3000.

When you start the application for the first time a default admin user is created with email: [email protected] and password password. Default admin user email can be set in the configuration files and password is read from the environment variable WORKPLACE_ADMIN_PASSWORD.

Note: Admin user is only created once when you start the application for the first time, once you have an admin user created, changing admin email in te configuration files will not have any effect.

Admin users will have admin functionality enabled in the app.

Configuration

  • Application general configuration files can be found in config directory.
  • Database and email connectivity configuration file is in path server/datasources.json

Conventions

  • When a time sheet is created an associated task is created for the time sheet.
  • Open tasks can be linked to new time sheets by using the link button from the top right corner of time sheet entry popup.
  • When a time sheet is marked as completed the associated task will be marked as closed.

To do

  • Employee clock in/out.

workplace's People

Contributors

harishanchu 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.