Skip to content

Backend of kirav.ru (WebAPI ASP.NET Core 3.1 - CQRS, EF, Docker).

Notifications You must be signed in to change notification settings

NikitaKirav/KiravRu_WebApi

Repository files navigation

Kirav.ru - Server App.

This is a backend part of the personal website kirav.ru.

screenshot of 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:

  1. KiravRu_ClientApp.
  2. Messenger_Client.
  3. Messenger_WebAPI.

Here you can find the following important files:

  1. docker-compose.yml, docker-compose.override.yml - are docker compose files with images, volumes, ports and other settings of the project.
  2. nginx.conf - the main configuration file of NGINX server. This is settings of 'nginx' Docker image.
  3. 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).
  4. updateAll.sh - script for deployment automation. This script copies repositories from Github to the server, installs packages (npm, NuGet) and runs 'docker-compose up'.

Docker Images of the project

You can find all images in details in docker-compose.yml.

  1. backend - the current github repository. Technologies Used: ASP.NET Core 3.1 (WebApi). Image depends on PostgreeSQL (postgres_db).
  2. postgres_db - PostgreeSQL.
  3. client - frontend part. Repository is here. Technologies Used: React, Redux, Thunk.
  4. messanger_backend - server part of Messenger. Repository is here. Technologies Used: NodeJS, express, mongoose.
  5. 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).
  6. messanger_db - Database for messenger (MongoDB).
  7. nginx - NGINX server for all project.
  8. certbot - bot for automation updating SSL certificate.

About

Backend of kirav.ru (WebAPI ASP.NET Core 3.1 - CQRS, EF, Docker).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages