Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pepeul1191/membership-php-svelte
Membership App in PHP Fat Free and Svelte
https://github.com/pepeul1191/membership-php-svelte
Last synced: 22 days ago
JSON representation
Membership App in PHP Fat Free and Svelte
- Host: GitHub
- URL: https://github.com/pepeul1191/membership-php-svelte
- Owner: pepeul1191
- Created: 2023-04-12T13:13:05.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-03T01:17:29.000Z (over 1 year ago)
- Last Synced: 2023-10-03T09:42:24.339Z (over 1 year ago)
- Language: Svelte
- Size: 2.18 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FlightPHP con Svelte JS
Instalación de dependencias:
$ composer install
Servidor de desarrollo
$ composer start
Usar la versión 18 de node js.
### Migraciones
Migraciones con DBMATE - accesos/sqlite3:
$ npm run dbmate:new <>
$ npm run dbmate:up
$ npm run dbmate:rollback## Archivo .env
ENV="local"||"prod"
### Dump y Restore Mysql
$ mysqldump -u root -p --ignore-table=vw_project_types_projects antergo > db/antergo.sql
$ mysqldump -u root -p drgym > db/drgym.sql
$ mysql -u root -p drgym < db/drgym.sql## Habilitar GROUP BY MySQL
$ SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
.env de la raiz
```
FF_ENVIRONMENT = development
FF_CSRF = true
FF_SESSION = true
FF_API= true
DB="mysql://root:[email protected]:3306/drgym"
FACEBOOK="https://facebook.com/antergo"
INSTAGRAM="https://instagram.com/antergo"
WHASTAPP="+51 901 268 633"
EMAIL_SITE="[email protected]"
ENTERPRISE_NAME="Dr. GYM"
```.env de helpers
```
MAIL_SENDER=""
MAIL_USER=""
MAIL_PASS=""
MAIL_US=""
MAIL_HOST=""
MAIL_PORT=587
PRIMARY=""
SECONDARY=""
NAME=""
ABOUT=" clientes"
ADRESS=""
PHONE=""
EMAIL=""
MESSAGE=""
DB_USER="root"
DB_PASS="Sila-1234"
DB_NAME="drgym"
CRYPTO_KEY="SuEMnUn8SsqThjyPYQD0tL"
CRYPTO_DOM="softweb.pe"
```Backup de PhpMyAdmin
ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; --> ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
## TODO
+ Procedimiento almacenado en la base de datos para actualizar el estado de las membresías de ACTIVO a VENCIDO.
+ Helpers/mail_helper -> resetMail