To run the app use the command
pnpm run dev
Still need to do instructions to compile the app, but when it runs it is not on browser and uses memory for routing!
These are in order, but for the instruction we should do them when relevant so that the tech can stick better in peoples minds
- pnpm
- VSCode(my libraries are super unorganized, I wlll make this list later)
- Node.js
- react-router-dom for memeory routing
- primereact primeicons primeflex for third party components
- bootstrap-grid-ony I have an idea to remake the mistake I did, we could install bootstrap, then be like, oh why doesn't the theming work. Then explain like imported css, and all that cuz a lot of people are new
- redux react-redux Statemanegement
Options once entered
- Other >> electron >> react (something like this)
This includes
- Setting up Routing
- Setttig up Prime React Provider
- Impoting themes and what not from our libraries
Side note: Sounds like a lot, but I've planned it out mentally and on paper, so more familiarity issues then design. I can prob get this done by end of Sunday or Monday. I can write instructions by Tues/Wednesday
- Style Components
- Implement Flashcard Fully
- Implement React Redux
- Implement File Read/Write
- Once I get this, I can make a create flashcard page, maybe some export/import, and a delete
- Instructions
The flashcards will be stored on a file in the sytem. They follow a json like structure with members key, setID, QnA[], etc.. On app instation they are pulled into the store, all data will exist within the store, until explcitly saved, the app is closed, or a checkpoint is reached.
There are 4 Pages to be implemented
Home Page: General Home page allowing user to see the current sets and their progress Study Page: This is the page that will allow users to go one by one though cards and study
- Each card will have a correct or wrong, if the question is wrong then the card gets back in queue
Preview Page: Allows user to see all of the QnA's inside a set Finsih Page: Displayed once the user has done their studying for the day
The Study Page and Preview page will be routed dynamically based on the setID
There is also a time element which needs to be implemented with system updates, whenever it has been x amount of time since the last completion. This will be based on the one retention study thing.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptions
property like this:
export default {
// other rules...
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
}
- Replace
plugin:@typescript-eslint/recommended
toplugin:@typescript-eslint/recommended-type-checked
orplugin:@typescript-eslint/strict-type-checked
- Optionally add
plugin:@typescript-eslint/stylistic-type-checked
- Install eslint-plugin-react and add
plugin:react/recommended
&plugin:react/jsx-runtime
to theextends
list