This is a backend part of the personal website kirav.ru.
Project uses the following technologies:
-
Frontend: React + Redux, Thunk, TypeScript, Webpack
-
Backend: ASP.NET Core 3.1, Entity Framework
-
Database: PostgreeSQL
-
- current repository
Also you can find Dockerfile in the project. Use it in your case, it saves you a lot of time. This repository combines a number of other projects using docker-compose. List of other repositories:
Here you can find the following important files:
- docker-compose.yml, docker-compose.override.yml - are docker compose files with images, volumes, ports and other settings of the project.
- nginx.conf - the main configuration file of NGINX server. This is settings of 'nginx' Docker image.
- init-letsencrypt.sh - script for initialize SSL certificate for kirav.ru. This script runs one time in a process of deployment. (Full instruction how use it is here: https://kirav.ru/notes/133).
- updateAll.sh - script for deployment automation. This script copies repositories from Github to the server, installs packages (npm, NuGet) and runs 'docker-compose up'.
You can find all images in details in docker-compose.yml.
- backend - the current github repository. Technologies Used: ASP.NET Core 3.1 (WebApi). Image depends on PostgreeSQL (postgres_db).
- postgres_db - PostgreeSQL.
- client - frontend part. Repository is here. Technologies Used: React, Redux, Thunk.
- messanger_backend - server part of Messenger. Repository is here. Technologies Used: NodeJS, express, mongoose.
- messanger_client - client part of Messenger. Repository is here. This is a separate project of the main site. But it works on the same domen as the main site thanks to the settings of NGINX. Technologies Used: React, Redux, Saga, Websocket, Unit and integrated Tests (Jest).
- messanger_db - Database for messenger (MongoDB).
- nginx - NGINX server for all project.
- certbot - bot for automation updating SSL certificate.