A simple markdown note taking application with encryption support built in PHP.
Ricardo García Jiménez b00e233256 feat: Elimina la información de un usuario desde la API | 2 stundas atpakaļ | |
---|---|---|
app | 1 stundu atpakaļ | |
bin | 6 mēneši atpakaļ | |
config | 2 mēneši atpakaļ | |
docs | 10 mēneši atpakaļ | |
migrations | 9 mēneši atpakaļ | |
public | 3 mēneši atpakaļ | |
routes | 1 stundu atpakaļ | |
writable | 7 mēneši atpakaļ | |
.gitignore | 7 mēneši atpakaļ | |
COPYING | 10 mēneši atpakaļ | |
README.md | 4 dienas atpakaļ | |
bootstrap.php | 5 dienas atpakaļ | |
composer.json | 2 mēneši atpakaļ | |
composer.lock | 2 mēneši atpakaļ | |
env.example | 2 mēneši atpakaļ | |
prettyphp.json | 10 mēneši atpakaļ |
A simple markdown note taking application with encryption support built in PHP.
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
Format PHP code:
composer run prettier
Generate entity-relationship diagram:
composer run gendb-diagram
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/>.