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ć 384fe40a56 Changed mastodon link. 1 week ago
config Made the website lighter, removed JS entirely, made some adjustments to CSS. 3 weeks ago
db Formatted the entire project with prettier 3 months ago
middleware Formatted the entire project with prettier 3 months ago
models Formatted the entire project with prettier 3 months ago
routes New homepage, contact form is more accessible 3 weeks ago
services Formatted the entire project with prettier 3 months ago
static New homepage, contact form is more accessible 3 weeks ago
utilities Formatted the entire project with prettier 3 months ago
validations Formatted the entire project with prettier 3 months ago
views Changed mastodon link. 1 week ago
.env.example Refactoring SSL configuration, among other things 3 months ago
.gitignore Add .vscode/ to .gitignore 3 months ago
.prettierrc Complete rewrite of the repository. 1 year ago
LICENSE Relicencing the project to AGPL, adding info route. 11 months ago
README.md Update README.md 11 months ago
app.js Refactoring SSL configuration, among other things 3 months ago
ecosystem.config.js Formatted the entire project with prettier 3 months ago
generate_certificate Add generate_certificates script 1 year ago
knexfile.js Formatted the entire project with prettier 3 months ago
nginx.conf Add security headers to nginx configuration 3 months ago
package-lock.json Made the website lighter, removed JS entirely, made some adjustments to CSS. 3 weeks ago
package.json Made the website lighter, removed JS entirely, made some adjustments to CSS. 3 weeks ago
robots.txt Added robots.txt 1 month ago

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.