Njord is a headless CMS powered by Strapi, Stripe, and Postgres ready to serve as your backend for web and mobile ecommerce applications.
- Run
yarn
(ornpm
) to install dependencies - Create Postgres Database
- Create .env file
Run the following commands:
psql -U postgres
create database <yourdbnamehere>
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
Start your Strapi application with autoReload enabled. Learn more
yarn develop
# or
npm run develop
Start your Strapi application with autoReload disabled. Learn more
yarn start
# or
npm run start
Build your admin panel. Learn more
yarn build
# or
npm run build
Strapi gives you many possible deployment options for your project. Find the one that suits you on the deployment section of the documentation.
Strapi comes with a full featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds.
- 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!
- 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.