- [Description]
- [Installation]
- [Usage]
- [Removal]
- [Extraneous]
- 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
- 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
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
- Docker Desktop 20.10.24
Please review the package.json in ./backend & ./frontend folders for a more detailed list of technology dependencies.
This installation guide assumes the user has the latest version of Docker desktop installed locally. Installation guide can be found here.
-
Clone this repository into your local machine with:
git clone -
Navigate to the cloned repo in your local machine.
-
Open the cloned repo in vscode.
-
Open the terminal in vscode.
-
Perform the following command in said terminal:
docker-compose upThis should install all dependencies, and perform all boot-up processes.
-
Wait for the front-end to finish loading, this should be the last container to load before opening the app.
-
Open an instance of Google Chrome or a Chromium browser.
-
Type and search
http://localhost:3000/into the address at the top of the page.This concludes installation guide.
Run the following command to remove the docker image and container built for this program: docker-compose down --rmi all