Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Oct 18, 2023
1 parent b76b62e commit be420f7
Show file tree
Hide file tree
Showing 64 changed files with 38,687 additions and 1 deletion.
12 changes: 12 additions & 0 deletions petstore/petstoreapp/soulmachines-react-app/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
30 changes: 30 additions & 0 deletions petstore/petstoreapp/soulmachines-react-app/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# there are more configuration values in /src/config.js such as colors and background

# env vars that are passed in to the react app need to be prefixed with REACT_APP_

# this usually doesn't need to be changed for standard projects
REACT_APP_SESSION_SERVER="dh.soulmachines.cloud"
# API key can be configured in DDNA prefs, good for basic auth when using a supported NLP
REACT_APP_API_KEY="eyJzb3VsSWQiOiJkZG5hLW1pY3Jvc29mdC0yMDIzLS1yYWFkLWNubi1haS1ib3QiLCJhdXRoU2VydmVyIjoiaHR0cHM6Ly9kaC5hei5zb3VsbWFjaGluZXMuY2xvdWQvYXBpL2p3dCIsImF1dGhUb2tlbiI6ImFwaWtleV92MV85Yjg5YWI3OC1hN2U3LTRhMTItYWY1YS00YWZjNTQ0MmYwOWMifQ=="
# endpoint to token server corresponding to project's persona
# token server auth is used when an orchestration server is being used to handle NLP
REACT_APP_TOKEN_URL=https://example.com/auth/authorize

# you can either use an API key or a token server to connect to your persona.
# 0: API key
# 1: token server
REACT_APP_PERSONA_AUTH_MODE=0
# enable if using an orchestration server (usually for non-native NLP or custom backend logic)
REACT_APP_ORCHESTRATION_MODE=false

# local development server will serve app from this port
PORT=3000

# uncomment if using Google Analytics
# REACT_APP_GA_TRACKING_ID=G-XXXXXXXXXXX

# without this flag, any eslint errors will prevent the app from building
ESLINT_NO_DEV_ERRORS=true
# suppress source map errors present when using [email protected]
GENERATE_SOURCEMAP=false

28 changes: 28 additions & 0 deletions petstore/petstoreapp/soulmachines-react-app/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
plugins: [
'react',
'@typescript-eslint',
],
rules: {
'react/jsx-filename-extension': 0,
'no-console': 0,
'default-param-last': 0,
'linebreak-style': ['error', process.platform === 'win32' ? 'windows' : 'unix'],
},
};
17 changes: 17 additions & 0 deletions petstore/petstoreapp/soulmachines-react-app/.gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file specifies files that are *not* uploaded to Google Cloud Platform
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore

# Node.js dependencies:
node_modules/
199 changes: 199 additions & 0 deletions petstore/petstoreapp/soulmachines-react-app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
node_modules/
Build/

# Created by https://www.toptal.com/developers/gitignore/api/node,macos,vim
# Edit at https://www.toptal.com/developers/gitignore?templates=node,macos,vim

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
# .env
.env.test
.env*.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Storybook build outputs
.out
.storybook-out
storybook-static

# rollup.js default build output
dist/

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# Temporary folders
tmp/
temp/

### Vim ###
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]

# Session
Session.vim
Sessionx.vim

# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~

# End of https://www.toptal.com/developers/gitignore/api/node,macos,vim

### vscode ###
.vscode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# End of https://www.toptal.com/developers/gitignore/api/vscode
build
sm-embed.css
sm-embed.js

.secrets
Loading

0 comments on commit be420f7

Please sign in to comment.