Source code for my website.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
Dušan Mitrović a8cb8943cb
Formatted the entire project with prettier
1 mese fa
config Formatted the entire project with prettier 1 mese fa
db Formatted the entire project with prettier 1 mese fa
middleware Formatted the entire project with prettier 1 mese fa
models Formatted the entire project with prettier 1 mese fa
routes Formatted the entire project with prettier 1 mese fa
services Formatted the entire project with prettier 1 mese fa
static Formatted the entire project with prettier 1 mese fa
utilities Formatted the entire project with prettier 1 mese fa
validations Formatted the entire project with prettier 1 mese fa
views Formatted the entire project with prettier 1 mese fa
.env.example Refactoring SSL configuration, among other things 1 mese fa
.gitignore Add .vscode/ to .gitignore 1 mese fa
.prettierrc Complete rewrite of the repository. 1 anno fa
LICENSE Relicencing the project to AGPL, adding info route. 9 mesi fa
README.md Update README.md 9 mesi fa
app.js Refactoring SSL configuration, among other things 1 mese fa
ecosystem.config.js Formatted the entire project with prettier 1 mese fa
generate_certificate Add generate_certificates script 1 anno fa
knexfile.js Formatted the entire project with prettier 1 mese fa
nginx.conf Add security headers to nginx configuration 1 mese fa
package-lock.json Formatted the entire project with prettier 1 mese fa
package.json Formatted the entire project with prettier 1 mese fa

README.md

dusanmitrovic.xyz

Source code for my website.

Table of contents

Dependencies

  • Node >=v12
  • npm >=v6
  • MariaDB
  • Redis
  • Nginx (configuration provided)
  • knex-cli

Configuration

Generate a self-signed SSL certificate for local development

./generate_certificate

Create a copy of the included .env.example file and fill it with relevant information.

cp .env.example .env

Install application dependencies

  1. npm install
  2. sudo npm install -g knex

Run migrations

knex migrate:latest

Run seeds

knex seed:run

Run the development server

npm run dev

Licensing

All source code written for this website is licensed under the terms of GNU AGPLv3.

All content on this website is licensed under the terms of CC-BY-SA.