Skip to content

ADCprimal-logic/primal_c2c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Coast 2 Coast Children Connect

To get setup for this project you will need to set up a handful of things.

  1. Set up the .env as shown in the example below and put it in the server folder.
  2. Run yarn install to install all the dependancies from package.json on both the front-end & back-end
    • If running with a new database url, run yarn create-tables to initialize all the tables in your project found in the schema folder under server.
  3. Run yarn dev to initialize the project so it can be built and ran locally.

To connect to demo database that includes ALL project schema use this username and password:

email: [email protected]
password: #primalPassAdmin

Once run you will have a http://localhost:3000 url which would prompt your NuxtJS Front-End with http://localhost:3000/admin acting as your Administrative KeystoneJS Backend

NOTICE:

This is using Keystone 5, the most stable release of KeystoneJS. Keystone 6, or Keystone Next, is the next stage for KeystoneJS. Unfortunately there is no telling when the next version will be released and this version becomes deprecated, but this is used for more active development to be released to production.

Environment Set (.env)

# Keystone Config
PROJECT_NAME="C2C Children Connect"
VERSION_NUMBER="1.0.0"
COOKIE_SECRET="bNLVPe1NIFSCeNRHEQ7CUyjcnVzko6MI"
# AWS S3 Creds
S3_PATH = 'user-profiles'
S3_BUCKET ='primal-c2c-images'
CF_DISTRIBUTION_ID = "E3ITN9Q4LXOLYC"
ACCESS_KEY_ID = 'AKIAYEDJQHVO4YE5KGFE'
SECRET_KEY_ID = 'SzaE2ZGAMhVFCaSE5s54EPdBgyyNz+abstpzPb52'
REGION = 'us-west-1'
# Stripe Creds
SECRET_KEY = "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"
PUBLISH_KEY = "pk_live_51J4szdAmjaieFijUxBoFtILLFar9IYL5uEvbpN2RxAtmQpZGVIpC5so1YOuX2SsOxgljq5RilaGIIhq0LlXKSpAf00KBuDXZmn"
TEST_SECRET_KEY = "sk_test_51J4szdAmjaieFijUTMG9SMwZMPgaSBl0QPOQIkIlR3t6Z84nz8Wh6TfL3u7T80OwYrK1YaCnhf5Hp9lc7oghlY8000TnMgyqHg"
TEST_PUBLISH_KEY = "pk_test_51J4szdAmjaieFijUIsUCzz7kzQFzuAU8GCZfy5IpQOOArntei5FwDMcH1KjaIx1W3ONwj9kOEqjcAxcjBwkijTvb00I6ecQHj5"
# Database Config
DATABASE_URL="postgres://primal_postgres:primal-squad@c2cdatabase.cqs5a6cxnjkx.us-east-1.rds.amazonaws.com:5432/development"
# Build Config
NUXT_TELEMETRY_DISABLED=1
BASE_URL="http://localhost:3000"
JWT_TOKEN="primalC2C"
JWT_EXPIRE="6h"

Documentation for further development:

Contributing Repo

NuxtJs Dashboard is based on Vuetify Material Theme purposed by Creative Tim

NuxtJs Dashboard Vuetify Material is a beautiful resource built over NuxtJs coupled with Vuetify. It will help you get started developing dashboards in no time. This dashboard is the official Vuetify version of the Original Material Dashboard. Using the Dashboard is pretty simple but requires basic knowledge of NuxtJs and Vuetify.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •