Giter VIP home page Giter VIP logo

staffshift-agency-client-management's Introduction

staffshift-agency-client-management

Developer's Certificate of Origin

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

Table Of Contents

JWT

Use the website https://jwt.io/ to validate your jwt. The secret you need to use will be defined as api_token in config file(Remember this will differ depending on the environment)

{
  "iss": "apig",
  "sub": "5799b72e8aaf4a18b74c06a6",
  "authorizarion": "Bearer 93f45dc6374035c97590d48bdbaa140be67deba5",
  "context": {
    "type": "Agency",
    "id": "59f86a039d4a5a29a6a0dff5"
  },
  "source_url": "/v1/agency/59f86a039d4a5a29a6a0dff5/candidate/59f85605e5cab96197820f1f/equality",
  "source_method": "PUT",
  "request_id": "03d3ed15-3184-4722-b258-c189ba5a3123",
  "iat": 1511446361
}

Running the project

This project has a couple of moving parts. This is a typescript project, config can be found in the tsconfig.json file. You will need to execute npm run build-ts to transpile to JS code, which is located in the outDir.

Development

  • You can use nodemon during the development phase, there is currently a default config file nodemon.json in the repo which only runs the API portion of the application.

Database

  • npm run migrate

Before starting any of the applications entry points you will need to run the database migrations.

API

  • npm run start

Domain Event Consumers

  • npm run start-domain-event-consumer

Streaming Applications

  • npm run start-streaming-application-core

Test Cases

VS Code Settings

These are settings that are applied to the workspace, they line-up with our linting rules. These are not committed as each developer may have additional workspace configuration specific to them, IE Custom Colors per project. These will most likely be a subset of your .vscode/settings.json file Anyone is welcome to expand on these settings

{
  "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
  "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
  "typescript.preferences.importModuleSpecifier": "relative"
}

staffshift-agency-client-management's People

Contributors

sinoohe avatar wyazdani avatar neilnienaber avatar ro-owl avatar a24jenkins avatar avvvet avatar waqaryazdani-sa avatar michaelbarnard avatar manyike avatar xdabier avatar ruanrobson avatar

Stargazers

Nabeel Tariq 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.