Skip to content

10 ‐ Tooling

Gustavo Jaques edited this page Dec 3, 2024 · 1 revision

Quality Assurance

Jasmine: https://jasmine.github.io/api/4.6/global

Karma: https://github.com/karma-runner/karma

Jasmine + Karma cli: ng test inside /app folder


Cypress: https://docs.cypress.io/api/commands/and

Cypress cli: npm run cy:open inside /app folder


xUnit: https://xunit.net/docs/getting-started/netcore/visual-studio

xUnit cli: dotnet test inside project folder or inside Visual Studio


Moq: https://github.com/moq/moq4

Angular 15

Bash cli: ng new app --minimal false --routing true --skip-git --style sass

Tailwind: https://tailwindcss.com/docs/guides/angular

Open Sans (Google Font): https://fonts.google.com/specimen/Open+Sans

Font Awesome (Icon): https://fontawesome.com/search?q=search&o=r&m=free

Moment: https://momentjs.com/docs

Authentication & Authorization: https://auth0.com/docs

.Net Core 6

Bash cli: dotnet new webapi -n <Project_Name> -au none

Entity Framework: https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore?view=efcore-6.0

SignalR: https://learn.microsoft.com/en-us/aspnet/core/signalr/introduction?view=aspnetcore-6.0

Entity Framework Cli: https://learn.microsoft.com/en-us/ef/core/cli/powershell

Consider code first, once database is ready to be changed (inside VStudio):

  • Add-Migration <Name> -OutputDir Snapshot
  • Update-Database
  • Remove-Migration -Force

Log

Seq: https://docs.datalust.co/docs

http://localhost:7740 (admin)

http://localhost:5341 (ingest)

Screenshot

Packages: Serilog.AspNetCore | Serilog.Sinks.Seq

docker run --name seq -d -p 5341:5341 -p 7740:80 -e ACCEPT_EULA=Y datalust/seq

Database

Mongo: https://www.mongodb.com/docs/drivers/csharp/current/quick-reference/#std-label-csharp-quick-reference

Docker cli (mongo): docker run -d --name mongo -p 27017:27017 mongo

Connection String: mongodb://localhost:27017


Redis: https://redis.io/docs/manual/

Docker cli (redis): docker run --name redis -p 6379:6379 -d redis

Connection String: localhost with port 6379

StackExchange.Redis


Sql Server: https://learn.microsoft.com/en-us/sql/sql-server/?view=sql-server-ver16

Docker cli (MSSql): docker run --name sqlserver -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=0a$9b8@d6e5_f4g" -p 1433:1433 -d mcr.microsoft.com/mssql/server

Connection String:

USR: sa

PWD: 0a$9b8@d6e5_f4g

Database: social-makers

Deployment

Jenkins: https://www.jenkins.io/doc/

Docker: https://docs.docker.com/engine/reference/builder/

Docker Compose: https://docs.docker.com/compose/compose-file/

Nginx: http://nginx.org/en/docs/

Multimedia Provider

Cloudinary: https://cloudinary.com/documentation/image_upload_api_reference#upload

Clone this wiki locally