An open API service indexing awesome lists of open source software.

https://github.com/xfenix/xfenix.ru

My personal site. Build with gulp, ts, docker, fastify. Many optimization techniques used here
https://github.com/xfenix/xfenix.ru

css3 docker docker-compose gulp html5 nginx typescript

Last synced: 3 months ago
JSON representation

My personal site. Build with gulp, ts, docker, fastify. Many optimization techniques used here

Awesome Lists containing this project

README

          

xfenix.ru
==
[![My single and only CI/CD pipe](https://github.com/xfenix/xfenix.ru/actions/workflows/dockerized-v2.yml/badge.svg)](https://github.com/xfenix/xfenix.ru/actions/workflows/dockerized-v2.yml)

My small site and some developers shitty things.
It consists of:
* `back` — written in fastify. Basically it's a small github adapter api with cache. Dockerized
* `front` — frontend page, dockerized inside alpine nginx
* `nginx.conf` — all-in-one nginx config, router for back and front, http2 support, etc
* Github Actions — my small continious depoyment variant

## Developer flow
1. Do once. Paste this code in browser console and run:
```javascript
localStorage.setItem('xfenix-apiaddr', 'http://0.0.0.0:8080/api/githubrepos/');
localStorage.setItem('xfenix-bypasscache', '1');
```
1. Run complete dev server (watch all resources, backend api, browsersync):
```bash
cd front && npx gulp watch
```
1. Develop.

## Developer fixes
For `node-sass` trouble this helps: `CXXFLAGS="--std=c++14" npm i`