An open API service indexing awesome lists of open source software.

https://github.com/psypersky/dprnk

Full-stack open source solution for Universal/Isomorphic web apps using PostgreSQL, React.js, Node.js, Koa.js and microservices
https://github.com/psypersky/dprnk

boilerplate bootstrap docker full-stack isomorphic koa nodejs postgresql reactjs scafold startup universal

Last synced: 2 months ago
JSON representation

Full-stack open source solution for Universal/Isomorphic web apps using PostgreSQL, React.js, Node.js, Koa.js and microservices

Awesome Lists containing this project

README

          

# DPRNK

[![Discord](https://img.shields.io/discord/102860784329052160.svg)](https://discord.gg/UUZNp5h)

DPRNK is a full-stack open source solution for Universal/Isomorphic web apps using PostgreSQL, React.js, Node.js, Koa.js and microservices. The idea is to cover the most common use cases for Universal web applications.

The project consist on three different micro-services:

__API__
This is the server that is public to the internet, here we communicate with the browsers and our web client app, the API knows how to access the database and when it needs to do a server side render it calls or web-app files it calls the web-app renderer for them.

__web-app renderer__
Receives state from the api, render the react app and put it in the index template, the returns the hole site to the api.
Also serve the static files of the web app (images, fonts, etc) and the app itself (javascript file) and serve them.
Note: Web-app renderer should not serve static files in the future, this should be done by an http server.

__Database (Just development)__
When using docker for development a postgreSQL container is created with the initial schema and some test data.

# Development with Docker

```
clone repo
cd dprnk
docker-compose -f docker-compose.dev up
```