<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Mihai Saru</title>
    <link>/</link>
    <description>Recent content on Mihai Saru</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 22 Dec 2020 18:06:04 +0200</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Svelte starter with Typescript, Tailwindcss, routing &amp; lazy loaded routes - IE11 compatible</title>
      <link>/posts/svelte-typescript-tailwindcss-ie11-starter/</link>
      <pubDate>Tue, 22 Dec 2020 18:06:04 +0200</pubDate>
      
      <guid>/posts/svelte-typescript-tailwindcss-ie11-starter/</guid>
      <description>1. Prerequisites:  node (used here v14.15.0)  2. Project initialisation with Typescript Init the project (named here svelte-project-starter) using degit:
npx degit sveltejs/template svelte-project-starter Navigate inside the directory of the newly created project:
cd ./svelte-project-starter Convert the project to Typescript:
node scripts/setupTypeScript.js Install the node modules:
npm i (Optional) Add Prettier config: It&amp;rsquo;s useful to first install prettier-plugin-svelte:
npm i -D prettier-plugin-svelte The .prettierrc file:
{ &amp;#34;printWidth&amp;#34;: 120, &amp;#34;singleQuote&amp;#34;: true, &amp;#34;useTabs&amp;#34;: false, &amp;#34;tabWidth&amp;#34;: 2, &amp;#34;semi&amp;#34;: false, &amp;#34;bracketSpacing&amp;#34;: true, &amp;#34;trailingComma&amp;#34;: &amp;#34;es5&amp;#34;, &amp;#34;svelteSortOrder&amp;#34;: &amp;#34;scripts-markup-styles&amp;#34; } The .</description>
    </item>
    
    <item>
      <title>API Data Model in Adonis and Postgres</title>
      <link>/posts/adonis-postgres-data-model/</link>
      <pubDate>Sat, 14 Mar 2020 13:27:49 +0200</pubDate>
      
      <guid>/posts/adonis-postgres-data-model/</guid>
      <description>Prerequisites A fresh Adonis project configured with a running Postgres DB. You can create one by following this guide.
Fresh start Make sure that there is no migration run until this point by executing:
adonis migration:status If there are migrations that have already been ran, reset them by executing:
adonis migration:reset Data model we are going to implement The model consists of three entities: user, post, and post_status.
The details of the entitites and the relationships between them are presented below:</description>
    </item>
    
    <item>
      <title>AdonisJS 4.1 API with PosgreSQL starter</title>
      <link>/posts/adonis-4_1-postgres-starter/</link>
      <pubDate>Fri, 13 Mar 2020 17:00:00 +0200</pubDate>
      
      <guid>/posts/adonis-4_1-postgres-starter/</guid>
      <description>Prerequisites:  node (used here v13.9.0) docker (used here v19.03.5) docker-compose (used here v1.25.4)  Install @adonisjs/cli globally:
Create a new --api-only project using the CLI:
adonis new adonis-postgres-demo-project --api-only Run npm i pg so that our project can connect to PostgreSQL.
Add the .prettierrc file:
{ &amp;#34;printWidth&amp;#34;: 120, &amp;#34;singleQuote&amp;#34;: true, &amp;#34;useTabs&amp;#34;: false, &amp;#34;tabWidth&amp;#34;: 2, &amp;#34;semi&amp;#34;: false, &amp;#34;bracketSpacing&amp;#34;: true, &amp;#34;trailingComma&amp;#34;: &amp;#34;es5&amp;#34; } Create the Dockerfile:
FROMnode:13.10.1-alpine3.10# so that we can use the adonis command to serve the app in --dev modeRUN npm i -g @adonisjs/cli@4.</description>
    </item>
    
    <item>
      <title>Develop an Angular 9 app locally, using Docker</title>
      <link>/posts/angular-docker/</link>
      <pubDate>Fri, 06 Mar 2020 15:00:00 +0200</pubDate>
      
      <guid>/posts/angular-docker/</guid>
      <description>Prerequisites:  node (used here v13.9.0) docker (used here v19.03.5) docker-compose (used here v1.25.4)  Aproximate time to complete this setup: 30 minutes.
Install the Angular CLI globally:
npm i -g @angular/cli Create a new angular project using the CLI and cd into the project directory:
ng new angular-docker-demo cd angular-docker-demo Create the Dockerfile:
# base imageFROMnode:13.8.0# install chrome for protractor testsRUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -RUN sh -c &amp;#39;echo &amp;#34;deb [arch=amd64] http://dl.</description>
    </item>
    
  </channel>
</rss>
