Configuration

All of WolfPal configuration is saved in the .env and the database as well.

View .env.example file as an example for server.

View .env.example file as an example for client.

Server

Sendgrid API Key

This is required for this project to work. Sendgrid Help

# Set the API key for sendgrid
# This is used for sending emails for account activation, password resets, and much more.
# This is required.
SENDGRID_API_KEY=sg......

Sendgrid Domain

This is required for this project to work. Sendgrid Help

# Set the domain sendgrid will send emails from.
# This is the domain emails will be sent from (noreply@yourdomain.com)
EMAIL_DOMAIN=m.example.com

Email From

This is required for this project to work. Sendgrid Help

# What domain should emails be sent from
EMAIL_FROM='WolfPal'

JWT Secret

# Set signing key for JWT (jsonwebtokens)
# Which is used for making sure the API tokens are created from this app it self and
# they can't be modifyed.
JWT_SECRET=example

Database URIs

# Set the database connection URI
# This is where all the user data will be stored. (Only MongoDB is supported)
DATABASE_URI=mongodb://localhost:27017/wolfpal

Site Title

# Set the site title
# This is used for title on pages and also for sending of emails
SITE_TITLE=WolfPal

Website

#This is whater the access to the front-end would be.  This is used on the back-end for sending the emails to users.
WEBSITE=http://localhost:3000

Registration

# Enable/Disable registration
REGISTRATION=true

NodeJS Env

# Set nodejs env.  Make sure to set this to production if your hosing it.   If your helping development then change to development
NODE_ENV=production

IP

# Sets the IP that the site/app will run on.
IP=127.0.0.1

Port

# Sets the PORT that the site/app will run on.
PORT=8080

Client

Site Title

# Set the site title
# This is used for title on pages and also for sending of emails
SITE_TITLE=WolfPal

Site Description

# Set the description of the site for SEO reasons
SITE_DESCRIPTION=A wolf to guide you to your end goals by helping keep you on track weely, bi-weekly or even monthly and yearly goals
# Set the footer text
# This is the copuyright name of who is running the site.
COPYRIGHT=WolfPal
# Set the footer text link
# This is the copuyright text URL which it should link to.
COPYRIGHT_LINK=http://localhost:3000

Landing Description

LANDING_DESCRIPTION=A wolf to guide you to your end goals by helping keep you on track weely, bi-weekly or even monthly and yearly goals.

Landing Features Title

LANDING_FEATURES_TITLE=All-in-one platform

Landing Features Description

LANDING_FEATURES_DESCRIPTION=Includes all the tools to help motivate you to complete your goals in life. One Wolf at a time.

Registration

# Enable/Disable registration
REGISTRATION=true

NodeJS Env

# Set nodejs env.  Make sure to set this to production if your hosing it.   If your helping development then change to development
NODE_ENV=production

IP

# Sets the IP that the site/app will run on.
IP=127.0.0.1

Port

# Sets the PORT that the site/app will run on.
PORT=3000