denvash / GRANDstack-backend-starter

Simple starter project for GRANDstack backend

Home Page:https://grandstack.io/docs/getting-started-grand-stack-starter.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GRANDstack

Features

  • Backend as micro-service.
  • Empowered version of grand-stack-stater (/api)
  • Linters - eslint & prettier configured
  • Optional-Chaining

Usage

Follow the official GRANDstack Starter guide for configuring Neo4j instance, you should also check the Tutorial video.

TL;DR: Initialize a DB instance and edit .env file, add secrets to now for deployment.

Deploy to now

  1. Install Dependencies

    yarn install
  2. Development

    yarn develop
    # Run for seeding the Neo4j DB
    yarn seed
  3. Deployment

    npm i -g now
    now login

    Add secrets for Neo4j instance:

    now secret add neo4j_uri bolt://<YOUR_NEO4J_INSTANCE_HERE>
    now secret add neo4j_user <YOUR_DATABASE_USERNAME_HERE>
    now secret add neo4j_password <YOUR_DATABASE_USER_PASSWORD_HERE>

    Integrate with Github and deploy:

    now

About

Simple starter project for GRANDstack backend

https://grandstack.io/docs/getting-started-grand-stack-starter.html

License:MIT License


Languages

Language:JavaScript 98.9%Language:Dockerfile 1.1%