Skip to content

Commit

Permalink
Início do projeto
Browse files Browse the repository at this point in the history
  • Loading branch information
williamfortunademoraes committed Aug 5, 2019
0 parents commit 925ffb6
Show file tree
Hide file tree
Showing 258 changed files with 36,231 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Projeto E-commerce

Projeto desenvolvido do zero no [Curso de PHP 7](https://www.udemy.com/curso-completo-de-php-7/) disponível na plataforma da Udemy e no site do [HTML5dev.com.br](https://www.html5dev.com.br/curso/curso-completo-de-php-7).

Template usado no projeto [Almsaeed Studio](https://almsaeedstudio.com)
19 changes: 19 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "williamfortunademoraes/ecommerce",
"authors": [
{
"name": "William Fortuna de Moraes",
"email": "william.fortuna@yahoo.com.br"
}
],
"require": {
"phpmailer/phpmailer":"5.2.22",
"slim/slim":"2.0",
"rain/raintpl":"3.0.0"
},
"autoload": {
"psr-4": {
"": "vendor\\hcodebr\\php-classes\\src"
}
}
}
152 changes: 152 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
127.0.0.1 www.hcodecommerce.com.br
16 changes: 16 additions & 0 deletions httpd-vhosts.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<VirtualHost *:80>
ServerAdmin webmaster@hcode.com.br
DocumentRoot "C:/xampp/htdocs/ecommerce"
ServerName www.hcodecommerce.com.br
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
<Directory "C:/xampp/htdocs/ecommerce">
Require all granted

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
</Directory>
</VirtualHost>
17 changes: 17 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

require_once("vendor/autoload.php");

$app = new \Slim\Slim();

$app->config('debug', true);

$app->get('/', function() {

echo "OK";

});

$app->run();

?>
7 changes: 7 additions & 0 deletions vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInitdf556b7d57a823830f4c6d3fea7389e3::getLoader();
Loading

0 comments on commit 925ffb6

Please sign in to comment.