Source code for my website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Dušan Mitrović a8cb8943cb
Formatted the entire project with prettier
преди 1 месец
config Formatted the entire project with prettier преди 1 месец
db Formatted the entire project with prettier преди 1 месец
middleware Formatted the entire project with prettier преди 1 месец
models Formatted the entire project with prettier преди 1 месец
routes Formatted the entire project with prettier преди 1 месец
services Formatted the entire project with prettier преди 1 месец
static Formatted the entire project with prettier преди 1 месец
utilities Formatted the entire project with prettier преди 1 месец
validations Formatted the entire project with prettier преди 1 месец
views Formatted the entire project with prettier преди 1 месец
.env.example Refactoring SSL configuration, among other things преди 1 месец
.gitignore Add .vscode/ to .gitignore преди 1 месец
.prettierrc Complete rewrite of the repository. преди 1 година
LICENSE Relicencing the project to AGPL, adding info route. преди 9 месеца
README.md Update README.md преди 9 месеца
app.js Refactoring SSL configuration, among other things преди 1 месец
ecosystem.config.js Formatted the entire project with prettier преди 1 месец
generate_certificate Add generate_certificates script преди 1 година
knexfile.js Formatted the entire project with prettier преди 1 месец
nginx.conf Add security headers to nginx configuration преди 1 месец
package-lock.json Formatted the entire project with prettier преди 1 месец
package.json Formatted the entire project with prettier преди 1 месец

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.