gitlines / MicroStarter

IdentityServer4, .NET Core API, Angular Universal (SSR) Starter with cookie authentication, docker, nginx and rabbitmq support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular .Net Core IdentityServer Starter

IdentityServer4, .NET Core API, Angular Universal (SSR) Starter with cookie authentication, docker, nginx and redis support

Generated with MicroBoiler

Getting started

# Clone the repository
git clone git@github.com:DooMachine/MicroBoiler.git
cd MicroBoiler

# Set your ASPNETCORE_ENVIRONMENT environment to Development
# Remove this git config
rm -rf .git 
# Start Your PostgreSql and Rabbitmq
# If you dont have them:
docker-compose -f docker-compose-tools.yml up
# Your redis, postgresql and rabbitmq instances will start with username: doom, password: machine with default ports. You can access them with localhost.
# Install dependencies and configure
# Api Service
cd ApiServices/MicroStarter.Api/src
# Check your rabbitmq and postgresql username and password
dotnet restore
# Run Migrations
dotnet run
# IdentityServer4
cd IdentityServices/MicroStarter.Identity/src/Host
# Check your rabbitmq and postgresql username and password
dotnet restore
# Run Migrations (bash migrations.dev.sh)
dotnet run /seed #seed data for is4 configuration
# SSR Client
cd Clients/MicroStarter.AngularSsrClient
npm install
ng serve


About

IdentityServer4, .NET Core API, Angular Universal (SSR) Starter with cookie authentication, docker, nginx and rabbitmq support


Languages

Language:C# 89.8%Language:TypeScript 6.9%Language:CSS 1.0%Language:Shell 0.8%Language:Dockerfile 0.7%Language:JavaScript 0.5%Language:HTML 0.4%