Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Next.js API backend reimplementation and Firebase backend deprecation #410

Open
wants to merge 53 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
516f061
chore: postgresql setup
aomi Aug 31, 2022
5f5e831
feat: add prisma schema
aomi Aug 31, 2022
8b5e344
feat: allow proxying to nextjs
aomi Aug 31, 2022
9c22e0e
chore: update, reorganize and clean deps
aomi Aug 31, 2022
0d47641
feat: use nextjs preset for jest test runner
aomi Aug 31, 2022
c4245a6
chore: add paths and include nextjs defs
aomi Aug 31, 2022
d6018c5
feat: prisma client
aomi Aug 31, 2022
d09363e
feat: banner client for nextjs
aomi Aug 31, 2022
a741344
feat: reexports for uvic-course-scraper
aomi Aug 31, 2022
1b73ac5
feat: wrapper funcs for kuali related apis
aomi Aug 31, 2022
f52952e
feat: task running
aomi Aug 31, 2022
6359a87
feat: http method middleware and auth
aomi Aug 31, 2022
1db6fab
feat: range utility function
aomi Aug 31, 2022
2a70533
feat: course related functions
aomi Aug 31, 2022
3f1a3c2
feat: sections related functions
aomi Aug 31, 2022
ec104a3
feat: textbooks related sections
aomi Aug 31, 2022
1c08504
feat: subjects related sections
aomi Aug 31, 2022
bf365a2
feat: timetable related sections
aomi Aug 31, 2022
ac3d5a6
feat: zod validations
aomi Aug 31, 2022
f5da372
feat: seeding endpoints
aomi Aug 31, 2022
f0c56e0
feat: reimplementation of backend api within nextjs
aomi Aug 31, 2022
2011315
fix: datetimes for meetingtimes
aomi Sep 20, 2022
b7a53ef
feat: wip seed script
aomi Sep 20, 2022
8ca95a1
feat: configure tsconfig for ts-node
aomi Sep 20, 2022
0d1dc71
chore: add ts-node and node-fetch
aomi Sep 20, 2022
ff2175a
feat: polyfill for ts-node
aomi Sep 20, 2022
9475bab
feat: textbook refresh
aomi Sep 20, 2022
56b6954
feat: use dynamic term
aomi Sep 20, 2022
a21e267
refactor: move getCourseIds
aomi Sep 20, 2022
646658e
refactor: move date recreation to function
aomi Sep 21, 2022
85bac88
feat: remove string array for lecture, lab and tutorial within timeta…
aomi Sep 21, 2022
4d8823d
fix: prisma seed invocation script
aomi Sep 21, 2022
6bd665e
fix: make subject less script
aomi Sep 21, 2022
51db2bf
feat: transform term into Term class after validation
aomi Sep 21, 2022
36f6a74
feat: WIP switch to nextjs and remove cra
aomi Sep 23, 2022
daa0b70
chore: tmp disable eslint rules
aomi Sep 23, 2022
7c5d3ca
feat: isbetween func
aomi Sep 23, 2022
f086fb1
feat: term class
aomi Sep 23, 2022
332673c
fix: upsertSections path
aomi Sep 23, 2022
4ee341b
fix: index page
aomi Sep 26, 2022
d460989
feat: README and init migration
aomi Oct 12, 2022
b736cf1
fix: migration script
aomi Oct 12, 2022
e8b1e5c
chore: update eslint and packages
aomi Mar 8, 2023
d58f406
feat: reconfigure eslint for nextjs
aomi Mar 8, 2023
7d3bdcb
chore: run linter
aomi Mar 8, 2023
51a9b7a
Upset Scripts (#450)
szeckirjr Apr 1, 2023
6d3494e
update course scraper version
szeckirjr Apr 1, 2023
cbca0ac
updating into session terms instead
szeckirjr Apr 1, 2023
04d74fc
testing new name
szeckirjr Apr 1, 2023
88b15f4
replacing initial github actions
szeckirjr Apr 2, 2023
0c52534
add pr trigger to test run
szeckirjr Apr 2, 2023
8e0401b
temporarily change trigger
szeckirjr Apr 2, 2023
18f2a03
halfway fix prisma seeding
Jan 16, 2024
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
14 changes: 13 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
REACT_APP_BACKEND=staging
# Controls the create-react-app proxy to the backend during development
REACT_APP_BACKEND=nextjs

# This was inserted by `prisma init`:
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema

# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings

DATABASE_URL="postgresql://admin:admin@localhost:5432/postgres?schema=public"
# For authentication when calling the data refresh endpoints
ACCESS_KEY="secret"
15 changes: 5 additions & 10 deletions .eslintrc → .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
"extends": [
// "next/core-web-vitals",
"react-app",
"react-app/jest",
"next/core-web-vitals",
"prettier",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:prettier/recommended"
"plugin:import/typescript"
],
"rules": {
"import/order": [
Expand Down Expand Up @@ -49,9 +47,6 @@
}
],
"camelcase": [2, { "properties": "always" }],
"import/no-unresolved": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"]
},
"ignorePatterns": ["functions/**"]
"import/no-unresolved": "off"
}
}
78 changes: 0 additions & 78 deletions .github/workflows/backend.yaml

This file was deleted.

237 changes: 0 additions & 237 deletions .github/workflows/deployment.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/frontend.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Continuous Integration (Frontend)
name: Testing
on:
pull_request:
jobs:
Expand Down
Loading