Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Refactor Pattoo-Web Codebase #166

Open
bonnie-23 opened this issue Sep 17, 2020 · 0 comments
Open

Refactor Pattoo-Web Codebase #166

bonnie-23 opened this issue Sep 17, 2020 · 0 comments
Assignees

Comments

@bonnie-23
Copy link
Collaborator

No description provided.

Dev-Dominic added a commit to Dev-Dominic/pattoo-web that referenced this issue Sep 24, 2020
__Issue__: Previous file structure had no general or clear purpose.

__Fix__:
	1. Create segment folders for each related group of project
	   components in the source folder:
		- components
		- routes
		- utils
	2. Remove redudnat folders from previous iterations of
	   pattoo-web.
	3. Reduce project depthed by deleting `pattoo_web` folder and
	   making the root of project one less in folder depth.
	4. Create folders for each module witih structure:
		- module-name.js
		- module-name.test.js
		- module-name.css `react component`
		- index.js `exports default and other functions from
		  module`
		- components `child react components associated
		  with parent react component`
	5. Create and renamed main react routing folder `routes` to have
	   a module called `RouteClient` which handles registering new routes.
Dev-Dominic added a commit to Dev-Dominic/pattoo-web that referenced this issue Sep 27, 2020
__Issue__: Relative path imports made it harder to know where in the
given project that a module was being imported from, as well as,
comprised code readability.

__Fix__: Utilize `jsconfig.json` convention that allows for the
specification of root files and options. [jsconfig.json
overview](https://code.visualstudio.com/docs/languages/jsconfig)

__Minor__: Omission of `Create-React-App` readme file.
@Dev-Dominic Dev-Dominic mentioned this issue Oct 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants