Skip to content

otaavioo/as-capacita-phalcon-api

Repository files navigation

as-capacita-phalcon-api

Postman

  1. Extension
  2. Collection

Phalcon API

#####Clone do Projeto

$ git clone https://github.com/agenciasys/as-capacita-phalcon-api.git

#####Estrutura do Projeto

as-capacita-phalcon-api/
    app/
    configs/
    controllers/
    exceptions/
    mappers/
    modules/
        users/
            controllers/
            models/
    responses/
    library/
        agenciasys/
            error/
            exception/
    private/
    public/
    routes/
        collections/
    vendor/

#####Variáveis de Ambiente

Criar arquivo .env no diretório app/configs com o código abaixo

DB_USER = "user"
DB_PASS = "passwd"
DB_SCHEMA = "as-capacita-phalcon"

#####Banco de Dados

CREATE DATABASE

-- ALTER TABLE "users" ------------------------------------
ALTER TABLE users
    ADD `dtCreated` DateTime NOT NULL DEFAULT '0000-00-00 00:00:00',
    ADD `dtUpdated` DateTime NOT NULL DEFAULT '0000-00-00 00:00:00'
-- ---------------------------------------------------------

#####Composer

$ cd /www/as-capacita-phalcon-api/
$ composer install

About

Micro Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published