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

Ricardo García Jiménez 3adef2cb10 feat: Agrega middleware de admnistrador en las rutas de los usuarios en la API y el sitio web 17 hours ago
app 3adef2cb10 feat: Agrega middleware de admnistrador en las rutas de los usuarios en la API y el sitio web 17 hours ago
bin e4a88068e1 refactor: Renombra nombres de variables 6 months ago
config aaf66444ff fix: Corrige nombre de la llave de configuración del proxy http de la aplicación 2 months ago
docs 701fb686bb feat: Elimina migraciones de la tabla de roles 10 months ago
migrations 32ae7d7a98 docs: Detalla los comentarios de las migraciones, modelos y utilerías 9 months ago
public 0f4d574451 feat: Agrega favicon del sitio web 3 months ago
routes 3adef2cb10 feat: Agrega middleware de admnistrador en las rutas de los usuarios en la API y el sitio web 17 hours ago
writable c16a0f3ef0 feat: Configura las variables de sesión 7 months ago
.gitignore c16a0f3ef0 feat: Configura las variables de sesión 7 months ago
COPYING d906443fdd feat: Agrega estructura base de la aplicación 10 months ago
README.md 12bb9a03d9 feat: Renderiza la página de modificación de notas del usuario 3 days ago
bootstrap.php 4969c19436 feat: Establece todas las funciones de fecha de PHP a UTC 5 days ago
composer.json 9e0b81bdb8 chore: Actualiza dependencias de terceros 2 months ago
composer.lock 9e0b81bdb8 chore: Actualiza dependencias de terceros 2 months ago
env.example 6fbd47d916 feat: Renombra variable de entorno APP_PROXY a APP_HTTP_PROXY 2 months ago
prettyphp.json 91b156709c style: Agrega configuración de pretty-php a PSR-12 10 months ago

README.md

tinynote

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

Installation

Install dependencies:

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

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/>.