Source code for my website.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
Dušan Mitrović a8cb8943cb
Formatted the entire project with prettier
vor 1 Monat
config Formatted the entire project with prettier vor 1 Monat
db Formatted the entire project with prettier vor 1 Monat
middleware Formatted the entire project with prettier vor 1 Monat
models Formatted the entire project with prettier vor 1 Monat
routes Formatted the entire project with prettier vor 1 Monat
services Formatted the entire project with prettier vor 1 Monat
static Formatted the entire project with prettier vor 1 Monat
utilities Formatted the entire project with prettier vor 1 Monat
validations Formatted the entire project with prettier vor 1 Monat
views Formatted the entire project with prettier vor 1 Monat
.env.example Refactoring SSL configuration, among other things vor 1 Monat
.gitignore Add .vscode/ to .gitignore vor 1 Monat
.prettierrc Complete rewrite of the repository. vor 1 Jahr
LICENSE Relicencing the project to AGPL, adding info route. vor 9 Monaten
README.md Update README.md vor 9 Monaten
app.js Refactoring SSL configuration, among other things vor 1 Monat
ecosystem.config.js Formatted the entire project with prettier vor 1 Monat
generate_certificate Add generate_certificates script vor 1 Jahr
knexfile.js Formatted the entire project with prettier vor 1 Monat
nginx.conf Add security headers to nginx configuration vor 1 Monat
package-lock.json Formatted the entire project with prettier vor 1 Monat
package.json Formatted the entire project with prettier vor 1 Monat

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.