Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
9c0c692
Merge pull request #95 from comatosino/main
r0b4dams Jun 7, 2021
644c626
corrected link to app
r0b4dams Jun 9, 2021
3d87bf0
Update README.md
r0b4dams May 25, 2022
e91d4b6
rm files
r0b4dams Sep 27, 2023
52f811f
add .gitignore
r0b4dams Sep 27, 2023
e8dc22c
add root formatting & linting configs
r0b4dams Sep 27, 2023
1e9c136
reset
r0b4dams Sep 27, 2023
319fa3d
init vite client
r0b4dams Sep 27, 2023
9db0146
add server config
r0b4dams Sep 27, 2023
f7ecb3e
add config file
r0b4dams Sep 27, 2023
38aedd4
att Context type
r0b4dams Sep 27, 2023
d8d971b
test basic query in sandbox
r0b4dams Sep 27, 2023
0b5131d
add simple context fn
r0b4dams Sep 27, 2023
b239c1d
export gql components
r0b4dams Sep 27, 2023
bbb78b8
setup express app with apollo server
r0b4dams Sep 27, 2023
adb01b3
update deps
r0b4dams Sep 29, 2023
d34e8fa
rm starter css
r0b4dams Sep 29, 2023
ab6989c
add Apollo setup
r0b4dams Sep 29, 2023
5099dd8
update deps
r0b4dams Sep 29, 2023
5b264c0
rm starter css
r0b4dams Sep 29, 2023
20d2b15
skip nexus artifact
r0b4dams Sep 29, 2023
8f4c627
server readme
r0b4dams Sep 29, 2023
078934f
add typeDefs
r0b4dams Sep 29, 2023
c9762b7
upgrade mongoose
r0b4dams Sep 29, 2023
2c0678c
upgrade mongoose
r0b4dams Sep 29, 2023
8063940
rename
r0b4dams Sep 29, 2023
2f8ba2c
nexus schema type artifact
r0b4dams Sep 29, 2023
358192b
update with nexus schema
r0b4dams Sep 29, 2023
d2701f8
rm files
r0b4dams Sep 29, 2023
3b06b1e
make /export schema
r0b4dams Sep 29, 2023
4fd7981
add wrapper class for DB connection
r0b4dams Sep 29, 2023
a6de25a
import DB
r0b4dams Sep 29, 2023
6b3d361
add User mongoose model
r0b4dams Sep 29, 2023
492b49e
update types
r0b4dams Sep 29, 2023
bffb6f9
rm log
r0b4dams Sep 29, 2023
f093de8
add basic get user query
r0b4dams Sep 29, 2023
90de277
add nexus User type def
r0b4dams Sep 29, 2023
bcafe54
type update
r0b4dams Sep 29, 2023
55c9d73
rm
r0b4dams Sep 29, 2023
c7af720
implement create user mutation
r0b4dams Sep 29, 2023
2192a0e
rm schema options
r0b4dams Sep 29, 2023
f2dd4bc
implement getAllUsers query
r0b4dams Sep 29, 2023
49534e1
update exports
r0b4dams Sep 29, 2023
0a55737
rename signup with create
r0b4dams Oct 3, 2023
38e7512
add delete
r0b4dams Oct 3, 2023
0eb785a
rename create to signup
r0b4dams Oct 3, 2023
3a1aedd
add update mutation
r0b4dams Oct 3, 2023
9b2a6e2
add get one user query
r0b4dams Oct 3, 2023
f186439
update email
r0b4dams Oct 7, 2023
ff34aff
add basic nav
r0b4dams Oct 7, 2023
709967c
install jwt
r0b4dams Oct 7, 2023
92d81f8
add password field
r0b4dams Oct 7, 2023
12c55fd
add workflow scripts
r0b4dams Oct 7, 2023
a1ecf4f
add bcrypt for pw hashing
r0b4dams Oct 7, 2023
d1b0e4b
update with auth types
r0b4dams Oct 7, 2023
dc27bfe
mv connect expression
r0b4dams Oct 7, 2023
b32e794
update with auth types
r0b4dams Oct 7, 2023
8f84619
rm unused mutations
r0b4dams Oct 7, 2023
51e1413
add pw hashing
r0b4dams Oct 7, 2023
31adb93
add pw field
r0b4dams Oct 7, 2023
f2c851e
add auth type
r0b4dams Oct 7, 2023
0d55937
add auth type
r0b4dams Oct 7, 2023
03981fe
add login and signup
r0b4dams Oct 7, 2023
b98e74c
rename get one user query
r0b4dams Oct 7, 2023
ce3c81d
add workflows
r0b4dams Oct 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions ,github/workflows/bump.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Bump

on:
push:
branches:
- 'main'

jobs:
bump:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Bump
run: bash scripts/bump_version.sh '${{ github.event.head_commit.message }}'

- name: Commit
env:
CI_COMMIT_AUTHOR: bump_bot
run: |
VERSION=$(node -p "require('./package.json').version")
git add package.json
git config --global user.name '${{ env.CI_COMMIT_AUTHOR }}'
git config --global user.email '${{ env.CI_COMMIT_AUTHOR }}@users.noreply.github.com'
git commit -m "bump version to $VERSION"
git push origin main
25 changes: 25 additions & 0 deletions ,github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint

on:
pull_request:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: actions/setup-node@v3
with:
node-version: latest
cache: 'yarn'

- name: Install
run: yarn

- name: Lint
run: yarn lint
16 changes: 16 additions & 0 deletions ,github/workflows/validate_pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Validate PR title

on:
pull_request:
branches:
- main

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Validate
run: bash scripts/validate_PR.sh '${{ github.event.pull_request.title }}'
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# skip nexus artifact
**/@types/schema.ts
10 changes: 10 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended"
]
}
152 changes: 137 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,146 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# dependencies
/node_modules
/.pnp
.pnp.js
# vite build artifacts
dist
dist-ssr
*.local

# testing
/coverage
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

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

# misc
.DS_Store
# 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/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# 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 variable files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
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

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# 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

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"printWidth": 100,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "all"
}
68 changes: 1 addition & 67 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,67 +1 @@
[![MIT](https://img.shields.io/badge/license-MIT-green)](https://opensource.org/licenses/MIT)

# Console Log

## Description

A hub for players to store walkthroughs for their favorite video games!

Create a user profile to start and start saving text or links to your favorite walkthroughs.

View, rate, and favorite walkthroughs posted by other users!

Search for games using voice commands!

## Table of Contents

- [Installation](##🛠️Installation)
- [Usage](##📐Usage)
- [License](##📋License)
- [Contributing](##📝Contributing)
- [Tests](##✔️Tests)

## Usage

Click the image below to check out the deployed application!

[![link to app](./public/assets/images/webapp-screenshot.jpg)](https://ras-console-log.herokuapp.com/)

## Questions

Questions? Contact one of us via the links below!


------------
## 🛠️Installation
To install necessary dependencies, run the following command:

npm install

------------
## 📐Usage
Please see below for instructions on usage:

Will need to update their .env with a valid RAWG key

------------
## 📋License
This project is covered under the [MIT](https://opensource.org/licenses/MIT) license.

------------
## 📝Contributing

- Sung Kim: [sungjk77](https://github.com/sungjk77)
- sungjk@uw.edu

- Robert Adams: [comatosino](https://github.com/comatosino)

- Aurora Duncan: [aurorabrynn](https://github.com/aurorabrynn)

------------
## ✔️Tests
To test the program, please run the following:

n/a



# console-log
12 changes: 12 additions & 0 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": ["../.eslintrc.json"],
"env": { "browser": true, "es2020": true },
"ignorePatterns": ["dist"],
"plugins": ["react-refresh"],
"rules": {
"react-refresh/only-export-components": [
"warn",
{ "allowConstantExport": true }
]
}
}
1 change: 1 addition & 0 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console log client
13 changes: 13 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
26 changes: 26 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "console-log-client",
"author": "Robert Adams <r0b4dams@gmail.com>",
"repository": "git@github.com:r0b4dams/console-log.git",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint . --ext ts,tsx --max-warnings 0",
"preview": "vite preview"
},
"dependencies": {
"@apollo/client": "^3.8.4",
"graphql": "^16.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-query": "^3.39.3"
},
"devDependencies": {
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.3",
"vite": "^4.4.5"
}
}
Loading