Source code for my website.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
Dušan Mitrović a8cb8943cb
Formatted the entire project with prettier
hace 1 mes
config Formatted the entire project with prettier hace 1 mes
db Formatted the entire project with prettier hace 1 mes
middleware Formatted the entire project with prettier hace 1 mes
models Formatted the entire project with prettier hace 1 mes
routes Formatted the entire project with prettier hace 1 mes
services Formatted the entire project with prettier hace 1 mes
static Formatted the entire project with prettier hace 1 mes
utilities Formatted the entire project with prettier hace 1 mes
validations Formatted the entire project with prettier hace 1 mes
views Formatted the entire project with prettier hace 1 mes
.env.example Refactoring SSL configuration, among other things hace 1 mes
.gitignore Add .vscode/ to .gitignore hace 1 mes
.prettierrc Complete rewrite of the repository. hace 1 año
LICENSE Relicencing the project to AGPL, adding info route. hace 9 meses
README.md Update README.md hace 9 meses
app.js Refactoring SSL configuration, among other things hace 1 mes
ecosystem.config.js Formatted the entire project with prettier hace 1 mes
generate_certificate Add generate_certificates script hace 1 año
knexfile.js Formatted the entire project with prettier hace 1 mes
nginx.conf Add security headers to nginx configuration hace 1 mes
package-lock.json Formatted the entire project with prettier hace 1 mes
package.json Formatted the entire project with prettier hace 1 mes

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.