/njord

Primary LanguageJavaScript

🦀 Njörðr (Njord)

What is Njord?

Njord is a headless CMS powered by Strapi, Stripe, and Postgres ready to serve as your backend for web and mobile ecommerce applications.

Setup

  1. Run yarn (or npm) to install dependencies
  2. Create Postgres Database
  3. Create .env file

2) Postgres Setup

Run the following commands:

psql -U postgres
create database <yourdbnamehere>

3) ENV

See env.example for enviroment variables to configure Postgres database

backend/.env

# POSTGRES
POSTGRES_HOST=tobemodified
POSTGRES_PORT= tobemodified
POSTGRES_NAME= tobemodified (yourdbnamehere from step 2)
POSTGRES_USERNAME= tobemodified
POSTGRES_PASSWORD=tobemodified

# PG ADMIN
PGADMIN_DEFAULT_EMAIL=tobemodifed
PGADMIN_DEFAULT_PASSWORD=tobemodifed

develop

Start your Strapi application with autoReload enabled. Learn more

yarn develop
# or
npm run develop

start

Start your Strapi application with autoReload disabled. Learn more

yarn start
# or
npm run start

build

Build your admin panel. Learn more

yarn build
# or
npm run build

⚙️ Deployment

Strapi gives you many possible deployment options for your project. Find the one that suits you on the deployment section of the documentation.

What is Strapi?

Strapi comes with a full featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds.

📚 Learn more

  • Resource center - Strapi resource center.
  • Strapi documentation - Official Strapi documentation.
  • Strapi tutorials - List of tutorials made by the core team and the community.
  • Strapi blog - Official Strapi blog containing articles made by the Strapi team and the community.
  • Changelog - Find out about the Strapi product updates, new features and general improvements.

Feel free to check out the Strapi GitHub repository. Your feedback and contributions are welcome!

✨ Community

  • Discord - Come chat with the Strapi community including the core team.
  • Forum - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
  • Awesome Strapi - A curated list of awesome things related to Strapi.