A simple markdown note taking application with encryption support built in PHP.

Ricardo García Jiménez d2fdc49e16 feat: Escapa por seguridad el token contra ataques CSRF dentro de los formularios 2 hete
app d2fdc49e16 feat: Escapa por seguridad el token contra ataques CSRF dentro de los formularios 2 hete
bin e4a88068e1 refactor: Renombra nombres de variables 7 hónapja
config 931ad39a8a feat: Optimiza opciones de configuración de los logs 3 hete
docs f67bf2dd00 docs: Inicializa la documentación de la API con gendoc 3 hete
documentation f67bf2dd00 docs: Inicializa la documentación de la API con gendoc 3 hete
migrations 32ae7d7a98 docs: Detalla los comentarios de las migraciones, modelos y utilerías 10 hónapja
public 0f4d574451 feat: Agrega favicon del sitio web 4 hónapja
routes 5b84b1c9e4 feat: Agrega protección contra ataques CSRF en el formulario de inicio de sesión 3 hete
writable c16a0f3ef0 feat: Configura las variables de sesión 8 hónapja
.gitignore f486cfa39a feat: Configura los logs de la aplicación 3 hete
COPYING d906443fdd feat: Agrega estructura base de la aplicación 11 hónapja
README.md 526cc99974 docs: Corrige indentación de todos los comandos del archivo README.md 2 hete
bootstrap.php f486cfa39a feat: Configura los logs de la aplicación 3 hete
composer.json f67bf2dd00 docs: Inicializa la documentación de la API con gendoc 3 hete
composer.lock f75a4f2935 chore: Actualiza dependencias de la aplicación 3 hete
env.example c30b245960 feat: Configura entorno de desarrollo para los logs 3 hete
prettyphp.json 91b156709c style: Agrega configuración de pretty-php a PSR-12 11 hónapja

README.md

tinynote

A simple markdown note taking application with encryption support built in PHP.

Installation

Install dependencies:

cd tinynote
composer install

Copy the env.example file to .env and configure your application:

cp env.example .env

Run database migrations:

composer run migrations -- --setup

Generate JWT private key:

openssl genrsa \
  -out writable/jwt/rsa-private-key.pem \
  2048

Generate JWT public key from the private key:

openssl rsa -in writable/jwt/rsa-private-key.pem \
  -pubout \
  -outform PEM \
  -out writable/jwt/rsa-public-key.pem

Commands

Format PHP code:

composer run prettier

Generate entity-relationship diagram:

composer run gendb-diagram

Generate API documentation:

composer run gendoc

References

License

tinynote -- A simple markdown note taking application with encryption support built in PHP.

Copyright (C) 2024  Ricardo García Jiménez <ricardogj08@riseup.net>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.