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

Routing and Navigation for React #79

Merged
merged 4 commits into from
Mar 28, 2023
Merged

Routing and Navigation for React #79

merged 4 commits into from
Mar 28, 2023

Conversation

AbhinavReddy-Dev
Copy link
Contributor

Added below for React

  • Routing
  • Navigation
  • Pages folder

AbhinavReddy-Dev and others added 2 commits March 26, 2023 02:07
* Updated #23 with docker-compose for postgres DB and managment console

* Generated table creations, updating #23

* updated .gitignore for postgres-data

* Minor schema updates

* removed not null requirements to fix circular dependancy issues

* Added dummy data script to db init

* Added Sequelize to project; created DB tests

* Test models for sqlize

* Moved passwords out of docker-compose

* Converted user to use SQLize

* converted app.js and logon to sqlize

* converted add_donor and donor routes

* converted add_donor and donor routes

* Added bind to fix permissions error when running

* Added TS support

* update README to fix Addrinfo crash

* Removed person_id requirement from transaction

* added dotenv to fix connection string import

* Converted imports to require

* Updated app.js connection to sequelize

* Updated routes

* Cnverted phone number to bigint to resolve overflow issues.

* fixed /sign_up crashes

* Updated logging and login reject messages

* fixed login server crash

* removed .ts routes

* stopped deserializeUser from returning promise

* Updated README with setup instructions

* added explicit newlines to readme

.env format was being pushed together. I also fixed minor grammar error in setup steps.

* Updated readme formatting

* Converted models-test into models

* removed test code

* Bump minimist from 1.2.5 to 1.2.8

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8.
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](minimistjs/minimist@v1.2.5...v1.2.8)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Adding compiled model files to ignore

* updated package scripts for merge

* trying to fix 'npm ci' error in workflow, update actions.yml

* back to previous actions.yml

* updated package-lock.json file, npm install

* added PantryNodeReact path for 'npm ci' and 'npm run build' to actions.yml

* swapped run commands in actions.yml

previous order was skipping server code

* added job for PantryNodeReact to actions.yml

* v2- added job for PantryNodeReact to actions.yml

* v3- added job for PantryNodeReact to actions.yml

* v3- excluding .js .jsx files tsconfig.json

* v4- removed  in tsconfig.json

* v5- removed js files and added in gitignore

* added pg_admin to local network

* updated DB connection safety check

* Created stock model

* Updated readme with build instruction

* Updated readonly validator to fix linter failure

* Update Contributing policy to include mandatory testing and coverage (#58)

* Update Contributing policy to include mandatory testing and coverage

* Update Contributing policy to include mandatory testing and coverage

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Brian Wells <[email protected]>
Co-authored-by: Mike Murtey <[email protected]>
Co-authored-by: briswells <[email protected]>
Co-authored-by: Brian S Wells <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Buffardi <[email protected]>
Co-authored-by: Manavi Ghorpade <[email protected]>
…different pages. (#74)

* added Material UI support with theme

* added eslint

* added react-router basic layout

* merged files from main

* added navigation bar functionality

* build test success in local

* refactored navigation component

* added link wrapper around logo typography in the menu
@DevangRaval1
Copy link
Contributor

Review1

Review2

Everything seems to work fine. All the routing to pages and navigation works for all the pages.
Looks good to me.

DevangRaval1
DevangRaval1 previously approved these changes Mar 27, 2023
Copy link
Contributor

@DevangRaval1 DevangRaval1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@briswells
Copy link
Contributor

@AbhinavReddy-Dev is there a reason you added .js versions of the models in this merge? I feel like these should be kept out of the repo as they can be recreated by compiling the typescript.

hardikpatil
hardikpatil previously approved these changes Mar 27, 2023
@AbhinavReddy-Dev
Copy link
Contributor Author

AbhinavReddy-Dev commented Mar 28, 2023

@AbhinavReddy-Dev is there a reason you added .js versions of the models in this merge? I feel like these should be kept out of the repo as they can be recreated by compiling the typescript.

I thought they were included in my fetch, I didn't run the backend in my local at all.

@AbhinavReddy-Dev AbhinavReddy-Dev self-assigned this Mar 28, 2023
@AbhinavReddy-Dev AbhinavReddy-Dev added feature New feature or request UI Concerns UI presentation labels Mar 28, 2023
@DevangRaval1
Copy link
Contributor

Works without the .js files in models

Copy link
Contributor

@hardikpatil hardikpatil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works on my end as well.

@hardikpatil hardikpatil merged commit 2597ed8 into main Mar 28, 2023
@hardikpatil hardikpatil deleted the frontend branch March 28, 2023 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request UI Concerns UI presentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants