/blossom-server

Node.js server hosting the diversus flower.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

diversus - blossom:server

This is a express.js based server running the diversus flower. For more information on this project, please visit diversus.me

Features & Stack

  • Magic Link login system
  • DynamoDB based sessions
  • PostgreSQL Database
  • Sequelize.js

Installation & Development

PostgreSQL

Setup PostgreSQL on your machine and create a new database. Afterwards you fill the database with the sample tables/data.

psql DATABASE_NAME < sample_database

Environment

Duplicate .env.example and name it .env

cp .env.example .env

Add credentials to a mailing server, your local PostgreSQL database and a *Youtube API key inside the .env file.

Node.js server

npm install
npm start

Done

Now you can run the client application locally and it will get its data from the server you just set up locally.