Skip to content

Instantly share code, notes, and snippets.

@fdnklg
fdnklg / React-App-Setup.md
Last active September 17, 2019 22:58
Some useful tutorials on how to setup a react app.

How to setup your react app

  1. create a new react app with the create-react-app CLI
npx create-react-app folder-name-of-app
  1. Add scss support to your react app by following this tutorial

  2. Setup redux support by following this tutorial

How to create a minial Headless CMS and REST API with Kirby 3

  1. Get the plain Kirby Kit
  2. Download and install the Better Rest Plugin
  3. For local development create the config folder under /site/ and create a config.php
  4. Add the following:
<?php

return [

How to deploy the headless cms strapi on your uberspace 7

This summary describes the collection of necessary tutorials to host strapy on your uberspace

1. Install mongodb on your uberspace

just follow this well written tutorial.

2. Install strapi and pm2 within a subdirectory of your public html folder on your uberspace

take just a segment of this tutorial. be sure to use the before defined credentials (like, ip address, port, username e.g. of your freshly created database)

Basics to setup a Postgres Database

Check if you have installed postgres on your machine first.

# CREATE A PHYSICAL POSTGRESQL DATABASE

initdb /usr/local/var/postgres

Organise your Node Node.js versions!

Requirements:

  • Zshell
  • NVM
  1. Just place a .nvmrc file inside the root of you project directory and add the version to be used inside
{
"_id": "california",
"type": "Feature",
"properties": {
"name": "California",
"abbreviation": "CA",
"capital": "Sacramento",
"city": "Los Angeles",
"population": 38332521,
"area": 423968,