Actual code has not started yet and I have been thinking about several ways to accompalish this:
- CakePHP, MySQL - No Vue/TailwindCSS/DynamoDB
- Slim(PHP), Postgres, Vue/TailwindCSS
- Slim(PHP), DynamoDB, Vue/Tailwindcss
Fastest one (for now) would be the first option - more experience, recently worked on this a lot
Taking specific notes from "Noter" development - more on this tomorrow
This is a version that I am kicking things off with - MySQL, CakePHP, Docker
The gist to create "Noter" setup (developed till now) is being used as a starting point for further development on geartable, although I am pretty sure I would be spending more time on creating this purely separate from Noter, but for now this feels like a very fast and easy way of doing things(in the current/given scope):
https://gist.github.com/jdecode/b2754547a461f289493df38a51776524
Some of the other commands that would be required:
Create "sheets" migration:
docker-compose run noter bin/cake bake migration CreateSheets id_sheet:string:index:SHEET_ID_INDEX active:boolean? admin_id:uuid? name:string? created:datetime? modified:datetime?
Create "APIs" migration
docker-compose run noter bin/cake bake migration CreateApis name:string? hash:string:index:HASH_INDEX sheet_id:integer:index:SHEET_ID_INDEX active:boolean? api_range:string:index:API_RANGE_INDEX created:datetime? modified:datetime?
Run migrations (to create tables):
docker-compose run noter bin/cake migrations migrate
Scaffold MVC :
docker-compose run noter bin/cake bake all sheets
docker-compose run noter bin/cake bake all apis
Put the docker instance "up" again:
docker-compose up