Mindblown: a blog about philosophy.

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

  • Neo4J

    Description Neo4J is a graph database written in Java Motivation To find a setup, which let us easily interact with graph data, we choose this kind of NoSQL database Setup install Neo4J Desktop: https://neo4j.com/download/ This will be our playground, the desktop variant brings us some extra tools, later we create a virtual environment with Vagrant…

  • Spring – pt 1

    Description Spring (Boot) is a Framwork for Java/Kotlin to create Webservers Motivation Caring about the backend, Spring is a convenient way of doing this. We’ll focus on a less mocked GraphQL API now. Sure we want to use a Neo4J Graphdatabase later on, but currently we follow this example with an H2 Database (relational, in-memory):…

  • Apollo Server for Mocking

    Description Apollo Server is a JavaScript program, serving GraphQL data Motivation Due to the fact, the backend stack takes a time to setup, we just wanna mock a server with our scheme and some demo data to fast deliver some API for the frontend Setup We follow straight https://www.apollographql.com/docs/apollo-server/getting-started/ Create a folder called backend-mock, went…

  • GraphQL pt 2

    Motivation Now we’d like to write a data scheme and let Apollo generate the Angular Code for us [1] Drafting No matter from which direction we are coming (backend first, frontend first, any mocking server), we’d need a GraphQL Scheme. There are several specialized GraphQL IDEs, coming from [2], let’s try this sandbox https://graphql.org/swapi-graphql together…

  • GraphQL pt 1

    Description GrahpQL [1] means Graph Query Syntax and describes a „protocol“ for your data transfer. Motivation Negotiation to an API, an interface between frontend and backend is time-critical. Often both is developed in parallel and the result gets „hacked“ to fit. But a first common data scheme can help. A good practice for REST-APIs is…

  • Angular pt 1

    Description Angular is a framework for writing frontends, especially websites. Full tutorial can be seen on [1] Setup Install NodeJS: https://nodejs.org Install an IDE: https://code.visualstudio.com/ Initialize In case you did setup git yet (see post jan-ni.de/archive/16) go to your project directory and open terminal. Let [app-name] be a placeholder for frontend Install command line tool…

  • Git

    Description Git is a version control system Setup Install GIT: https://git-scm.com/downloads Initialize Create a project folder and add a file „README.md“ there. This is a markdown file to globally describe your project. Change to this directory and open the command prompt there, then enter git initgit add .git commit -m „First commit“ Now you can…

  • Angular Spring Roundtrip

    Goals We want to write something similar to https://boostnote.io with a little bit more sophisticated usecases, let’s see. Usually starting simple and iterating into complexity is a well probed approach. Hints Note for Windows: most of the installs can be done with the tool https://chocolatey.org/install + https://chocolatey.org/packages/ChocolateyGUI which is a handy tool to also keep…

Hast du irgendwelche Buchempfehlungen?