Skip to content
/ dgeco Public

ecommerce simples escrito para a palestra na impacta

Notifications You must be signed in to change notification settings

dgmike/dgeco

Repository files navigation

DGEco

A simple store writen in PHP 7+. It uses PagSeguro as payment gateway.

dgeco

You just need PHP to with PDO and sqlite3 run this project:

BASE_URL=http://localhost:8080
php -S localhost:8080 home.php

You can use docker to run the store:

docker run \
  --rm \
  -ti \
  -v $PWD:/app \
  -w /app \
  -e BASE_URL=http://localhost:8080 \
  -p 8080:8080 \
  php \
    php -S 0.0.0.0:8080 home.php

Then, you need to make the setup to create the batabase (sqlite) file:

http://localhost:8080/setup

That's it!

About

ecommerce simples escrito para a palestra na impacta

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks