Category: bingo

  • Bingo Meetings- conclusion–part 25

    It was a nice journey  to make an application just with TypeScript and Node ecosystem.  There are some missing parts ( e.g. testing the GUI – e2e in JS parlance) However,some thoughts: The ecosystem does not have good support for mono-repository (in C# parlance,solution with multiple referencing projects ) Yarn Workspaces helps TypeScript compile should…

  • Bingo Meetings- documenting code–part 24

    We have already documented the process of reproducing our code on developer PC ( including docker …)  So now we should help programmers understand the code that we have create and it’s general use. For this,for any project that we have : 1. We should  add a Readme.md file to explain the project 2. We…

  • BingoMeetings-documentation-part 23

    Not so much here – just is the most time consuming part. You should imagine for who you are writing ( technical / user ?),what are his interests ( installing application / running the project ) and how to convey information. Here we will write for the persons that wants to install the project,run it…

  • BingoMeetings–4 steps to run in Docker both WebAPI and Site-part 22

    Now what I want to achieve is to run the WebAPI and Angular Site in docker. For this,we should compile the Angular site and copy into the WebAPI. Also,WebAPI should serve the index.html file generated by the Angular. Those are the 4 steps: 1. Ensure that  the Angular routes and WebAPI routes should be different…

  • BingoMeetings–build and deploy Angular WebSite to GitHub–part 21

    What  we need is to deploy somewhere the WebSite application – the Angular. One version is to compile and deploy to the WebApi (http://bingo-meeting-api.herokuapp.com/api/ ),however ,I do prefer keeping separate. One simple idea is to deploy to GitHub site . For each repository,GitHub lets you have a website correlated . For example,for our project,https://github.com/alexandru360/PresentationBingoCards/,github lets you…

  • Bingo for meetings-build an Angular app-part 20

    Now it is time to create some Angular GUI. ( If you want to learn Angular,please visit https://angular.io/ ) Problems encountered: 1. The CreateMeeting did not compile (ng serve ) the CreateMeeting class ( because of the nestjs Swagger  decorators ). So I ended creating an interface ICreateMeeting with the same definition and using in…

  • Bingo meetings–deploying to heroku–part 19

    We have decided to deploy on heroku,since it has some free dynos. Heroku is integrated with GitHub and has “automatic deploys” – that means that every push will automatically deploy to Heroku. That will be an opportunity for AzureDevOps to verify correct deploy ( even if appears different …) Some points here: 1. Heroku is…

  • Bingo for–refactor web service with tests–part 18

    In the same manner that we refactor the objects,we have now to refactor the service that is called by the WebAPI. Yes,we have the skinny controllers concept – but the service is something new for the application. Think about retrieving the list of the meetings  – this is something that we did not need in…

  • Bingo for meetings–finalizing API for web–part 16

    The API that we want to create is create meeting add participant check cards see result meeting( Those API’s  were simpler for the console application,because of the single participant involved. There are also some technical problems and some architectural ones. Let’s start with technical: nestjs suggest ( as per sample project with contacts) to add…

  • Bingo for meetings-nestjs–create meeting api -part 15

    So now it is time to expose our objects as HTTP API. We have decided to go with nest.js because has support for TypeScript. The documentation to install is pretty obvious at https://docs.nestjs.com/ . Now we must code the endpoint to create a meeting. As per the nest.js documentation,we should create a module,a controller and…