Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure to single deploy #26

Merged
merged 37 commits into from
Jul 10, 2022
Merged

Restructure to single deploy #26

merged 37 commits into from
Jul 10, 2022

Commits on Jun 2, 2022

  1. WIP Begin restructure process

    Use root src as client code
    server as the API
    public as the bundled React App that is then delivered by ExpressJS
    This will simplify the process of deploying and accessing the app as
    a whole. Also removing the create-react packages and scripts that were
    never used.
    burtonr committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    d251aa3 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

  1. Configuration menu
    Copy the full SHA
    d52c2fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c956324 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24801b3 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. Configuration menu
    Copy the full SHA
    70d8bc0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ba7e3c View commit details
    Browse the repository at this point in the history
  3. Update login to return role name and fix bug in dash post

    Using the role name in the login return object will simplify the
    frontend logic and ensure repeatability on new DB servers where the
    id is regenerated.
    Bug in the dash  post due to forgotten require statement
    burtonr committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    f1948b2 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. Configuration menu
    Copy the full SHA
    c447c55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d08a58 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63de0d5 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Configuration menu
    Copy the full SHA
    aec9a5b View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. Add webpack scripts and get client rendering

    Commented out a majority of the App and NavBar in order
    to prevent errors causing React to not render properly.
    This is only a first step in redesigning the client code
    to align with the restructuring. WIP
    burtonr committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    f8d2f45 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Configuration menu
    Copy the full SHA
    08aaece View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59e3de3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b0a063c View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. WIP move login dialog and navbar clicks to app

    This allows the main page state to be maintained centrally
    while the functions and state are passed down to the components
    burtonr committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    646e3bf View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. Style the login dialog

    burtonr committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    fd421b9 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. Configuration menu
    Copy the full SHA
    993b72d View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Configuration menu
    Copy the full SHA
    0b27860 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. Configuration menu
    Copy the full SHA
    25a851f View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    3feb2a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3af388e View commit details
    Browse the repository at this point in the history
  3. Update itemCard to component class and pass manageMode down

    manageMode is sourced at the App level. Potential for introducing Redux to avoid
    the through-passing past itemGrid
    burtonr committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    192e56c View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Add new dialog to separate add and edit

    It was getting confusing and difficult to manage various forms of state
    in a single dialog. Created a new Add dialog to handle creating items only.
    Cleaned up some commented code and unused imports.
    burtonr committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    ba6ccc5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ac40c9 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. Configuration menu
    Copy the full SHA
    ebe655f View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2022

  1. Configuration menu
    Copy the full SHA
    75a553e View commit details
    Browse the repository at this point in the history
  2. Remove extra console logs in add component

    Still a console log there, but less text for now
    burtonr committed Jul 3, 2022
    Configuration menu
    Copy the full SHA
    93ce980 View commit details
    Browse the repository at this point in the history
  3. Re-implement edit call in UI

    Still work to do for handling messages and errors
    burtonr committed Jul 3, 2022
    Configuration menu
    Copy the full SHA
    581d9d0 View commit details
    Browse the repository at this point in the history
  4. Add refresh function to disable cache control. Pass item errors up

    Items API call was being cached when calling update. Added an additional function
    that specifically sets the Cache-Control header to ensure fresh data always.
    Added prop to item list for handling errors at the top level App. This will need
    
    to be turned into a global service/component soon.
    An undefined error popped up, so added an additional check in the error handler
    just in case for now
    burtonr committed Jul 3, 2022
    Configuration menu
    Copy the full SHA
    2c8ea7c View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Remove group code to implement later on

    This branch needs to focus on restructure, not new features
    burtonr committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    99f40bb View commit details
    Browse the repository at this point in the history
  2. Remove dotenv and use only as dev dependency

    Exclude dotenv from code as this is expected to run as a container
    using environments in a container is expected over a file. Locally,
    setting the environment via file is easier.
    Added additional npm script to run the server without the dotenv flag
    when running as a deployed application/container
    burtonr committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    1b828f9 View commit details
    Browse the repository at this point in the history
  3. Add nodemon dev dependency to watch server as well

    Previously, npm watch only for changes to frontend
    burtonr committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    e9ca728 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eb92065 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2022

  1. Add functionality to disable auth

    Initialize the authentication on the server to return the status
    of the auth. Disabled or not.
    In the front-end, if auth is disabled fake an admin user to allow
    all functionality
    burtonr committed Jul 10, 2022
    Configuration menu
    Copy the full SHA
    d81487e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7d6c29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    33dd209 View commit details
    Browse the repository at this point in the history