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
fields:
id int
reference string
total float
vat float
status_id int
customer_id int
Each time the machine is started the containers are down.
Add a restart option to the docker-compose file
Use the env's from .env
id,
invoice_id,
reference NULL,
description,
unit_price,
units,
total,
date_created,
date_updated
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 database will be used for testing. This should be a separate Docker container
This should return an array of all statuses that match a where clause
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
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
Clean up managers
Relates to #32
Testing should be documented
This should allow for multiple where conditions
Find an invoice by the invoice ID
Just copy the invoice for now
This will be used for database code testing.
Remove database config from unit test suite
This should return an array of all of the statuses
Create a customer entity with the following properties:
Find one customer by a given where clause
This should return an array of all of the customers
Create the SQL for the Status table
requires
customer name
first name
last name
Find all invoices
Probably something todo with the MYSQL ENV's
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.
This should take an array of data and return a Status entity
Requires #29
Find one status by a given where clause
This should return an array of all customers that match a where clause
This requires #83
This is a SQL file that sources other SQL files and can be streamed into the MySQL Docker container.
Test insert and update based on supplied Status
Create layer above hydrations that connects the status to the invoice.
This will be fetch the Status that is linked to the Invoice:
Requires #32
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);
The status entity needs to be built with the following fields
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.