Add the org file with plan.
This commit is contained in:
		
							parent
							
								
									d285587754
								
							
						
					
					
						commit
						b65740e214
					
				
					 1 changed files with 89 additions and 0 deletions
				
			
		
							
								
								
									
										89
									
								
								0PLAN.org
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										89
									
								
								0PLAN.org
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,89 @@ | ||||||
|  | #+title: Frontend | ||||||
|  | 
 | ||||||
|  | * Plan | ||||||
|  | 
 | ||||||
|  | ** 0.2 | ||||||
|  | 
 | ||||||
|  | - [ ] use localStorage to store user | ||||||
|  |   - [ ] add barcode scanner to get the user | ||||||
|  |   - [ ] allow editing | ||||||
|  |   - [ ] add UserSelect component | ||||||
|  | - [X] integrate script for starting build qemu system | ||||||
|  | - [X] add org file to the repository after cleanup | ||||||
|  | 
 | ||||||
|  | ** 0.3 | ||||||
|  | 
 | ||||||
|  | - [ ] versioned schema support | ||||||
|  |   - [ ] barschema table | ||||||
|  |   - [ ] function to check | ||||||
|  |   - [ ] function to set | ||||||
|  |   - [ ] initial creation of tables at version 1 assuming OK if tables exist | ||||||
|  | 
 | ||||||
|  | ** 0.4 | ||||||
|  | 
 | ||||||
|  | - [ ] add inventory check table | ||||||
|  | - [ ] add inventory item check table | ||||||
|  | - [ ] create new check | ||||||
|  | - [ ] check item | ||||||
|  | - [ ] close check | ||||||
|  | - [ ] inventory check component | ||||||
|  | 
 | ||||||
|  | ** Later | ||||||
|  | 
 | ||||||
|  | - [ ] add static token support | ||||||
|  |   - [ ] hardwired token for the React.JS app? | ||||||
|  | - [ ] authentication | ||||||
|  |   - [ ] login/logout | ||||||
|  |   - [ ] allow API calls only with login token | ||||||
|  | 
 | ||||||
|  | * Finished | ||||||
|  | 
 | ||||||
|  | ** 0.1 | ||||||
|  | 
 | ||||||
|  | - [X] statically compiled binary HTTP server | ||||||
|  | - [X] include directory tree contents | ||||||
|  | - [X] handle frontend with mime type | ||||||
|  | - [X] move app to / again | ||||||
|  | - [X] load certificates | ||||||
|  | - [X] deployment preparations | ||||||
|  |   - [X] crosscompilation - no, compile in qemu or on separate host | ||||||
|  |   - [X] connect to postgres | ||||||
|  |   - [X] use qr-scanner - no, qr-barcode-scanner is needed | ||||||
|  |   - [X] rsync + build in qemu or host without react (filters or something) | ||||||
|  | - [X] API infrastructure | ||||||
|  |   - [X] handle API calls | ||||||
|  |   - [X] API registry syntax | ||||||
|  |   - [X] lookup barcode in DB | ||||||
|  |   - [X] separate module brmbar-data for queries | ||||||
|  |   - [X] separate module api-servlets | ||||||
|  | 
 | ||||||
|  | * Qemu | ||||||
|  | 
 | ||||||
|  | #+BEGIN_SRC | ||||||
|  | wget img zip # 2019-04-08-raspbian-stretch.zip | ||||||
|  | unzip 2019-04-08-raspbian-stretch.zip | ||||||
|  | sudo mkdir /mnt/image | ||||||
|  | sudo mount -o loop,offset=4194304 2019-04-08-raspbian-stretch.img /mnt/image/ | ||||||
|  | # In qemu-system-armhf terminal! | ||||||
|  | cp kernel, DT | ||||||
|  | umount /mnt/image | ||||||
|  | resize img | ||||||
|  | #+END_SRC | ||||||
|  | 
 | ||||||
|  | sources.list - archive debian (remove rpi), archive raspberry | ||||||
|  | https://archive.raspberrypi.org/debian/ | ||||||
|  | https://archive.debian.org/debian/ | ||||||
|  | apt-get --no | ||||||
|  | 
 | ||||||
|  | * React - Vite | ||||||
|  | 
 | ||||||
|  | #+BEGIN_SRC sh | ||||||
|  |   npm create vite@latest | ||||||
|  |   # "frontend" | ||||||
|  |   # React | ||||||
|  |   # Javascript | ||||||
|  |   cd frontend | ||||||
|  |   npm install | ||||||
|  |   npm run dev | ||||||
|  |   npm run build | ||||||
|  | #+END_SRC | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue