Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Inprocessing Website

Table of Contents

  • [Description]
  • [Installation]
  • [Usage]
  • [Removal]
  • [Extraneous]

Description

Technologies Used

Front-end
  • Framework
    • React 18.2.0
  • Routing
    • React Router 6.10.0
  • Styling
    • React-Bootstrap 2.7.2
    • MUI Material 5.11.16
  • Cookie Management
    • js-cookie 3.0.1
Back-end
  • Framework
    • Express 4.18.2
  • Database
    • PostgreSQL 8.10.0
  • Database/SQL Queries
    • Knex 2.4.2
  • Data Mock
    • FakerJS 7.6.0
  • Session Management
    • express-session 1.17.3
Endpoints

GET:

  • '/table/:name-of-table'
    • gets a specific table by name
  • '/table/:name-of-table/:id'
    • gets a specific id of item in a table
  • '/tasks-locations'
    • gets a join table of tasks and locations

POST:

  • '/tasks'
    • post to the Tasks table. Must have a task_name, due_date, priority, and task_description
  • '/locations'
    • post to the Locations table
  • '/login'
    • send authentication data to the server
  • '/session'
    • send authentication success to server

PATCH:

  • '/tasks/:id'
    • update the task with the ID given

DELETE:

  • '/tasks/:id'
    • removes the task with the ID given
  • '/users/:id'
    • removes the user with the ID given
Containerization
  • Docker Desktop 20.10.24

Please review the package.json in ./backend & ./frontend folders for a more detailed list of technology dependencies.

Installation

Quick Start with Docker

This installation guide assumes the user has the latest version of Docker desktop installed locally. Installation guide can be found here.

  1. Clone this repository into your local machine with: git clone

  2. Navigate to the cloned repo in your local machine.

  3. Open the cloned repo in vscode.

  4. Open the terminal in vscode.

  5. Perform the following command in said terminal: docker-compose up

    This should install all dependencies, and perform all boot-up processes.

  6. Wait for the front-end to finish loading, this should be the last container to load before opening the app.

  7. Open an instance of Google Chrome or a Chromium browser.

  8. Type and search http://localhost:3000/ into the address at the top of the page.

    This concludes installation guide.

Usage

Removal

Run the following command to remove the docker image and container built for this program: docker-compose down --rmi all

Extraneous

Conceptual Wire Frame

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages