pfwd / freecodecamp-php-oop Goto Github PK
View Code? Open in Web Editor NEWWatch me build this Invoice Application in PHP->
Home Page: https://www.twitch.tv/howtocodewell
License: MIT License
Watch me build this Invoice Application in PHP->
Home Page: https://www.twitch.tv/howtocodewell
License: MIT License
Relates to #32
Create layer above hydrations that connects the status to the invoice.
This will be fetch the Status that is linked to the Invoice:
Find all invoices
This should return an array of all customers that match a where clause
Any interest in using Tailwind CSS for the front-end for this? If so, I’ll happily submit a PR getting it all set up.
Each time the machine is started the containers are down.
Add a restart option to the docker-compose file
Probably something todo with the MYSQL ENV's
Use the env's from .env
i tried everything sir..
in var/www/html folder my all the files don't mount only the one apache and mysql folder is there.
bind mount works only when i don't use docker-machine but in docker-machine it did not work :(
i also want to use docker-machines.. .i invested two days sir.. .:( can you tell me plesase what is wrong on internet and google have no answers.
i also asked on stackoverflow
Examples mention on stream
/* @var \App\Entity\Type\Invoice|null */
// Example 1:
$entity = $db->getRepository(\App\Entity\Type\Invoice::class)->findOne(4);
// Example 2:
$manager = InvoiceManager();
$entity = $manager->findOne(4);
It currently is set to the IP of the Docker machine and that may change and is also an optional requirement for the project.
This will be used for database code testing.
Remove database config from unit test suite
This is a SQL file that sources other SQL files and can be streamed into the MySQL Docker container.
Create a customer entity with the following properties:
This should return an array of all statuses that match a where clause
The status entity needs to be built with the following fields
Find an invoice by the invoice ID
Find one status by a given where clause
Find one customer by a given where clause
This should return an array of all of the statuses
Test insert and update based on supplied Status
Just copy the invoice for now
This requires #83
This should return an array of all of the customers
id,
invoice_id,
reference NULL,
description,
unit_price,
units,
total,
date_created,
date_updated
Requires #32
This database will be used for testing. This should be a separate Docker container
This should take an array of data and return a Status entity
Requires #29
This should allow for multiple where conditions
This will build the MySQL query based on parameters and options.
This should focus on INSERT
and UPDATE
queries. If the ID is present then the query will be an UPDATE
Testing should be documented
Create the SQL for the Status table
Clean up managers
requires
customer name
first name
last name
fields:
id int
reference string
total float
vat float
status_id int
customer_id int
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.