From 6b06948340db9906a8f6ee062fcf59bd8953e677 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oskar=20Vihri=C3=A4l=C3=A4?= <oskar.vihriala@gmail.com>
Date: Sun, 12 May 2024 05:19:13 +0300
Subject: [PATCH] Apply readme improvement ideas

---
 backend/README.md | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/backend/README.md b/backend/README.md
index 6ce5348..372e3a5 100644
--- a/backend/README.md
+++ b/backend/README.md
@@ -2,7 +2,7 @@
 
 ## Setup
 
-### Install dependencies
+### Node and npm versions
 
 Install will fail if not using correct node and npm versions.
 
@@ -11,20 +11,22 @@ Install will fail if not using correct node and npm versions.
 
 If using nvm, run `nvm install` to automatically switch to the correct versions.
 
+### Install dependencies
+
 ```bash
 npm install
 ```
 
-### Add database url to .env file
+### Run database in docker container
 
 ```bash
-DATABASE_URL=mysql://root:poppipassword@localhost:3306/poppiDB
+docker run --name poppi-dev-db -e MARIADB_ROOT_PASSWORD=poppipassword -p 3306:3306 -d mariadb:11.3.2
 ```
 
-### Run database in docker container
+### Add database url to .env file
 
 ```bash
-docker run --name poppi-dev-db -e MARIADB_ROOT_PASSWORD=poppipassword -p 3306:3306 -d mariadb:11.3.2
+DATABASE_URL=mysql://root:poppipassword@localhost:3306/poppiDB
 ```
 
 ### Apply current migrations to database
-- 
GitLab