Skip to content

Commit

Permalink
feat: 🔀 squash merge release candidate for sprint-2
Browse files Browse the repository at this point in the history
* Added Team Information to `team.md`

* chore: 📝 Created a PR Template

* Setup Team Information

* chore: 📝 Created a PR Template

* Add product.md

Add the product.md file

* feat: 🎉 Initial Project Setup

* Setup Team Information

* Initial setup done, configuring frontend

* modified changes

* modified changes

* more changes

* modified changes, error in package install

* done setup

* cleanup code

* docs: 📝 Added Setup Instructions

* changed .js files to .ts in server/

* minor changes

* added scss support

* updated README.md

* changed server to mongodb

* fixed issues

* chore: 🙈 Added Git Ignore for Server

* chore: 🧑‍💻 Removed Tracking Server `node_modules`

* chore: 🧑‍💻 Removed Tracking Server `.env`

* refactor: 🚚 Moved all JS files to `src`

* chore: ➕ Installed `rimraf`

* chore: 🔨 Added script to reset packages

* chore: 🧑‍💻 Created VSCode Tasks to automate Install and Start Dev

* refactor: ⚡ Updated Components with `'use client';`

* refactor: ⚰️ Removed unused code

---------

Co-authored-by: Shawn Santhoshgeorge <[email protected]>
Co-authored-by: Shashwat Doshi <[email protected]>

* chore: 🧑‍💻 Added Recommended VSCode Configuration

* Setup Team Information

* chore: 🧑‍💻 Recommended VSCode Extensions

* chore: 🧑‍💻 Common VSCode Settings

* chore: 🧑‍💻 added extension

* chore: 🧑‍💻 Disabled AutoCommit & Prompt CI

* chore: 🧑‍💻 Removed VS Code Postgresql Extension

---------

Co-authored-by: Shashwat Doshi <[email protected]>

* chore: Added Signed Team Contract

* docs: 📝 Added README

* docs: 📝 Added Contribution Section to README

* docs: 📝 Added Motivation Section to README

* refactor: 📝 Updated Contribution Section

* docs: 📝 Setup Installation Section

* docs: 📝 Added Technologies Used

* docs: 📝 Added Contributors List

* docs: 📝 Added Table of Contents

* Correct grammatical errors and add product summary

* Add product summary to Table of Contents

* docs: 📝 Added Installation Section

* docs: 📝 Added TS to Technologies Used

* docs: 📝 Added Figma Design to TOC

---------

Co-authored-by: Aditya Kulkarni <[email protected]>

* Add user_interface

Add the user interface pdf

* Add product_backlog

Add product_backlog pdf

* Implement PR feedback

Implemented changes recommended in the PR

* Remove unnecessary files

Remove .DS_Store file from branch

* Add logo and banner

* refactor: 🏷️ Added TS Support for Server

* build: ➖ Uninstalled `dotenv` from Server

FIN-64

* build: ➕ Installed 6 packages to Server

`ts-dotenv` `@types/cors` `@types/express` `@types/node` `ts-node-dev` `typescript`

FIN-64

* chore: 🔧 Updated version, description in Server `package.json`

FIN-65

* chore: 🔧 Added `tsconfig.json`

FIN-66

* chore: 🙈 Added `.build` to `.gitignore`

FIN-68

* refactor: ♻️ Updated Code to Support Typescript

Implemented Types of Schema, CORS Support and other

FIN-67, FIN-69, FIN-63

* build: 🔨 Updated Scripts to work with Typescript

FIN-70

* fix: 🐛 Removed CORS Config for Server

* build: 🔨 Added `.build` to `rimraf` parameters

* chore: 🎨 Implemented Prettier

* build: ➕ Installed Prettier for Client & Server

FIN-72

* chore: 🧑‍💻 Created `.prettierrc`

FIN-73

* chore: 🧑‍💻 Created `.prettierignore`

FIN-74

* build: 🔨 Updated NPM Scripts to run Prettier

FIN-75

* ci: 👷 Setup GitHub Action to Automate Formatting

FIN-76

* chore: 🧑‍💻 Created VS Code Task for Prettier

* style: 🎨 Formatted Client & Server Code

FIN-71

* refactor: ♻️ Removed Todo App Code

* build: 🔨 Updated build directory name for Server TS

* chore: 🙈 Updated `.build` to `build` in `.gitignore`

* docs: 📝 Added `README.md` for Server

Information about Folder Structure, NPM Scripts, Endpoints

FIN-81

* refactor: 🔥 Removed Todo Code from Server

FIN-83, FIN-79

* feat: ✨ Added Status Endpoint

FIN-84

* refactor: 🔥 Removed Todo Components from Client

FIN-85, FIN-79

* refactor: ♻️ Changed Chakra-UI to work with `app` dir

FIN-86

* build: 📦️ Moved various packages to `devDependencies`

`@types/node` `@types/react` `@types/react-dom` `eslint` `eslint-config-next` `typescript`

FIN-87

* build: 📦️ Removed `@chakra-ui/icons` and `react-icons` for `@react-icons/all-files`

FIN-87

* build: 📦️ Updated Chakra-UI packages

FIN-87

* build: 📦️ Updated SASS

FIN-87

* docs: 📝 Added README.md for Client

Information about NPM Scripts,

FIN-88

* feat: 🔍️ Added Site Metadata

* chore: 🔍️ Added a `favicon.ico`

* style: 🎨 Implemented 7-1 Pattern for SCSS

FIN-89

* style: 💄 Implemented Basic Styles

FIN-89

* feat: 🔍️ Added Icons to Metadata

* chore: 🔥 Removed unused `.svg` from `public`

* chore: 🚚 Renamed Banner and Logo

* docs: 📝 Updated `client` and `server` README.md

Client and Server has changes to Folder Structure

FIN-81, FIN-88

* docs: 📝 Added `.env` config to Setup

* ci: 👷 Added Write Access to Actions

* style: 🎨 Formatted Client & Server Code

---------

Co-authored-by: ShawnGeorge03 <[email protected]>

* feat: 🗃️ Implemented DB Schema for Learning

* feat: ✨ implemented signup and login using Clerk, need UI fixes

* fix: 🐛 Fixed Server Folder Structure

* fix: 🐛 Moved `models` and `types` folder inside `src`

FIN-95

* fix: 🐛 Added export for `ArticleSchema`

* chore: 🎨 Added Spacing for Consistency

* feat: ✨ Squash Merged Nav-bar PR

* feat: 🚧 Initial work for Navbar

* feat: 🚧 Initial work for Navbar

* feat: 💄 Added Navbar for FIN-77

* fix: 🐛 Change Import Path for Themes

* feat: ♻️ Cleaned up code for Navbar

* feat: 🚧 Initial work for Navbar

* feat: 💄 Added Navbar for FIN-77

* feat: ♻️ Cleaned up code for Navbar

* style: 🎨 Formatted Client & Server Code

* fix: ♻️ Refactor file structure based on PR feedback

* fix: 🐛 Fix PR comments

---------

Co-authored-by: Shawn Santhoshgeorge <[email protected]>
Co-authored-by: D3nam <[email protected]>

* feat: ✨ UI changes and added logic for authentication

* feat: 🎨 minor changes

* feat: 🎨 minor changes

* feat: 💄 minor changes

* feat/fin-48/all-courses (#28)

* Set up

* Base set up frontend

* feat: allcourses display page complete

* feat: display all courses page complete

* chore: add comments

* style: 🎨 Formatted Client & Server Code

* fix: fixed some semantics

* fix: port changed to 4000

* style: 🎨 Formatted Client & Server Code

---------

Co-authored-by: aryan-thakur <[email protected]>

* feat: ✨ connected user information to the database

* docs: 📝 Updated README.md

* feat: 🎨 integrated sign-up/sign-in with existing navbar

* style: 🎨 Formatted Client & Server Code

* refactor: 🎨 minor changes in structure of code

* refactor: 🎨 minor changes

* fix: 🐛 Fixed Import Statments & Cleaned Files

* chore: Updated Server `package-lock.json`

* refactor: 🎨 Removed Try-Catch in Course Controller

* fix: 🔧 Removed Server Types

* chore: 🚚 Renamed Filenames for Transparent Logo

* refactor: 🏷️ Updated Learning and Nav Link Types

* fix: 🏷️ Updates Type Folder Path

* refactor: 🚚 Updated Navbar SCSS Filename

* refactor: 🎨 Formatted Client Code

* fix: 🚚 Updated File path for `AllCourses` Component

* feat: ✨ Create a Basic Dashboard Page

* refactor: 🚚 Update Image Loading

* fix: 🚚 Added `/learning` route

* fix: 🏷️ Added `Props` type

* refactor: 🚑️ merged hotfix from develop

* feat: ✨ Added GET all users endpoint for future use

* style: 🎨 Formatted Client & Server Code

* fix: 🐛 fixed navbar tabs bug (#32)

Fixed Navbar tabs bug
---------

Co-authored-by: shashwat-doshi <[email protected]>

* feat: ✨ Created All Units Page

* feat: 🚧 Created files for an endpoint to connect all units

* chore: 🔥 Removed unnecessary file

* chore: 🗃️ Added contentType field for Article and Video

Added slug field for Course

* chore: 🔥 Removed unnecessary file

* chore: 🗃️ Updated VideoSchema and ArticleSchema with contentType

* fix: 🐛 Fixed bug relating to UnitSchema

Updated the content property from a 2-D array to a 1-D array

* chore: 🗃️ Updated CourseSchema by adding a 'slug' property

* feat: ✨ Created API Route for getting all units

* feat: ✨ Completed Controller for the API Route to Get All Units

* fix: 🐛 fixed navbar tabs bug (#32)

Fixed Navbar tabs bug
---------

Co-authored-by: shashwat-doshi <[email protected]>

* chore: 🧐 Created Fake Data for Units

* feat: ✨ Created Basic Card for Unit

FIN-91

* feat: ✨ Created Basic Unit Summary Component

FIN-92

* feat: ✨ Created the Course Page

FIN-93

* chore: 🧐 Created Fake Data for Units

* refactor: 🎨 Removed `_id` & `__v` and other changes

* refactor: 🏷️ Changed from `String` Wrapper to `string`

* feat: ✨ Added Routing to Course Page

* feat: ✨ Added Support for Invalid Course ID

* chore: 📱 Resized Logo Image

FIN-97

* chore: 🗃️ Updates `Unit`, `Article`, `Video` schemas with `slug` field

* feat: 🎨 Minor Changes to `/units` route

FIN-90

* refactor: 🗃️ Renamed `title` to `name` in Video & Article

* refactor: 🎨 Removed Single Use Types

* refactor: 🚚 Removed `CourseID` Route

* feat: 🥅 Added Error Handling for Course Page

* feat: 👽️ Added Changes for `/units` Endpoint

FIN-93

* refactor: 🎨 Removed period from title

* style: 🎨 Formatted Client & Server Code

* chore: 🧐 Removed Fake Data for All Units Page

* style: 📱 Centered the Sign-In and Sign-Up Pages

* style: 💄 Minor Adjustment to Unit List

* refactor: 🎨 Make use of top-level await

---------

Co-authored-by: Adam Badar <[email protected]>
Co-authored-by: Shashwat Doshi <[email protected]>
Co-authored-by: shashwat-doshi <[email protected]>
Co-authored-by: ShawnGeorge03 <[email protected]>

* feat: ✨ Squash merged PR for FIN-17(Dashboard-Learning)

* feat: 🚧 Started working on dashboard-learning page

* feat: ✨ Added Sidebar for dashboard page functionality

* feat: 🚧 Started working on dashboard-learning page

* feat: ✨ Added Sidebar for dashboard page functionality

* feat: 💄 Improved UI for Dashboard-Learning Page

* feat: 🚧 Started working on dashboard-learning page

* feat: ✨ Added Sidebar for dashboard page functionality

* feat: 💄 Improved UI for Dashboard-Learning Page

* feat: ✨ Cleaned up dashboard-learning page

* feat: ♻️ Cleaned up code

* fix: 🩹 Fixed PR comments

* docs: Add iteration plan for sprint 01

* docs: Add sprint review for Sprint 0 (#39)

* Merge Article and Video Page (#41)

* Video Commits

commit 8ae72ce
Author: Aditya-k-23 <[email protected]>
Date:   Fri Jun 16 02:23:50 2023 +0000

    style: 🎨 Formatted Client & Server Code

commit eeffb7c
Merge: 6e48db3 cf93f4c
Author: Aditya Kulkarni <[email protected]>
Date:   Thu Jun 15 22:23:22 2023 -0400

    Merge branch 'develop' into feature/FIN-52/content-video

commit 6e48db3
Author: Aditya Kulkarni <[email protected]>
Date:   Thu Jun 15 22:14:56 2023 -0400

    feat: Add side pane to video page

commit 4488407
Author: Aditya Kulkarni <[email protected]>
Date:   Thu Jun 15 20:12:17 2023 -0400

    feat: Fixed routing for video content

commit c846c8c
Author: Aditya Kulkarni <[email protected]>
Date:   Thu Jun 15 18:19:49 2023 -0400

    fix: delete unnecessary comments

commit b7ce55a
Merge: 478a060 6e9fcb7
Author: Aditya Kulkarni <[email protected]>
Date:   Thu Jun 15 15:03:13 2023 -0400

    Merge branch 'develop' into feature/FIN-52/content-video

commit 478a060
Author: Aditya Kulkarni <[email protected]>
Date:   Thu Jun 15 15:01:18 2023 -0400

    feat: added youtube embed for video content

* Article Commits

commit ef832d5
Author: Balraj Kharol <[email protected]>
Date:   Fri Jun 16 00:25:59 2023 -0400

    feat: ✨ Split the article page into multiple components,

    Still need to add side bar that aditya has created for this Video page (will be done by morning).

commit 51e52e5
Merge: 7e63e7f 53ec29e
Author: Balraj Kharol <[email protected]>
Date:   Thu Jun 15 23:01:36 2023 -0400

    Merge branch 'Feature/FIN-51/ArticlePage' of https://github.com/CSCC012023/final-project-s23-agile-avengers into Feature/FIN-51/ArticlePage

commit 7e63e7f
Author: Balraj Kharol <[email protected]>
Date:   Thu Jun 15 11:40:46 2023 -0400

    feat: 💄 Added article Defination

    Added the text field to the defination of article in order to fetch the text from database rather than hard coding it.

commit 51e02c0
Author: Balraj Kharol <[email protected]>
Date:   Tue Jun 13 16:01:55 2023 -0400

    feat: ✨ created article page and connected backend

commit a5fabbe
Author: Balraj Kharol <[email protected]>
Date:   Thu Jun 15 11:40:46 2023 -0400

    feat: 💄 Added article Defination

    Added the text field to the defination of article in order to fetch the text from database rather than hard coding it.

commit 1a1662a
Author: Balraj Kharol <[email protected]>
Date:   Tue Jun 13 16:01:55 2023 -0400

    feat: ✨ created article page and connected backend

commit 53ec29e
Merge: 4ef09da 4a65301
Author: Balraj Kharol <[email protected]>
Date:   Thu Jun 15 21:27:26 2023 -0400

    Merge branch 'Feature/FIN-51/ArticlePage' of https://github.com/CSCC012023/final-project-s23-agile-avengers into Feature/FIN-51/ArticlePage

commit 4ef09da
Author: Balraj Kharol <[email protected]>
Date:   Thu Jun 15 11:40:46 2023 -0400

    feat: 💄 Added article Defination

    Added the text field to the defination of article in order to fetch the text from database rather than hard coding it.

commit 6020d52
Author: Balraj Kharol <[email protected]>
Date:   Tue Jun 13 16:01:55 2023 -0400

    feat: ✨ created article page and connected backend

commit 4a65301
Merge: bed2157 d0fb37e
Author: Shashwat Doshi <[email protected]>
Date:   Thu Jun 15 11:49:15 2023 -0400

    Merge branch 'develop' into Feature/FIN-51/ArticlePage

commit bed2157
Author: Balraj Kharol <[email protected]>
Date:   Thu Jun 15 11:40:46 2023 -0400

    feat: 💄 Added article Defination

    Added the text field to the defination of article in order to fetch the text from database rather than hard coding it.

commit 6b34b10
Author: Balraj Kharol <[email protected]>
Date:   Tue Jun 13 16:01:55 2023 -0400

    feat: ✨ created article page and connected backend

* Router Merge Issue

* Removed console.log from Server

* Removed String Wrapper class and Added Article Type

* Removed console.log in Client

* Updated Routing for Video and Article

* Formatting

* fix: Fixed content video bugs

Add fixes as per feature/FIN-52/content-video PR. Also resized the nav bar logo to now fit inside the grey bar

* feat: ✨ Implemented the side bar using Aditya's implementation of the side bar.

* style: 🎨 Formatted Client & Server Code

* fix: delete unused component

---------

Co-authored-by: Shawn Santhoshgeorge <[email protected]>
Co-authored-by: Aditya Kulkarni <[email protected]>
Co-authored-by: balraj03 <[email protected]>

* chore/non-ref/release-planning-document-1 (#40)

* docs: Add RPM document for sprint 1

* fix: Add participants to sprint 1 RPM document

* fix: 🎨 minor fixes (#42)

* docs: added sprint 1 docs (#43)

* Bugfix/non-ref/RPM (#44)

* fix: Add RPM for sprint 1

* fix: Delete old RPM document

* feat: add learning progress model (#46)

* ci: 👷 Implemented CI Changes 

* revert: 🔥 Removed `package-lock.json` from Project

FIN-103, FIN-78

* revert: 🔥 Removed `package.json` from Project

FIN-103, FIN-78

* chore: 🙈 Unified `.gitignore` for Project

FIN-103, FIN-78

* chore: 🧑‍💻 Initialized NPM Workspaces

FIN-103, FIN-78

* chore: 📦️ Added Current Packages

FIN-108, FIN-78

* chore: 🔨 Added `dev` & `build` NPM Scripts

FIN-109, FIN-78

* chore: 🔨 Added `format` & `purge` NPM Scripts

FIN-109, FIN-78

* chore: 🧑‍💻 Improved Prettier Configuration

FIN-110, FIN-78

* chore: 🧑‍💻 Updated VSCode Task for NPM Workspace

FIN-78

* chore: 🧑‍💻 Recommended Various Extensions

FIN-78

* chore: 🧑‍💻 Added Auto Import Sort & Lint Fixes

FIN-78

* chore: 🧑‍💻 Implemented ESLint for Project

FIN-111, FIN-78

* refactor: 🚨 Fixed ESLint Errors

FIN-111, FIN-78

* ci: 👷 Implemented CI Jobs for `lint` & `format`

FIN-112, FIN-78

* chore: 📝 Updated PR Template for PR Closure

FIN-78

* fix: 🐛 Minor Bugs from Linting

FIN-111, FIN-78

* docs: 📝 Updated README.md

FIN-113, FIN-78

* ci: 👷 Added Conventional Commits to GitHub Actions

FIN-112, FIN-78

* docs: 📝 Added URL to Postman Testing

FIN-113, FIN-78

* docs: 📝 Updated README for Client & Server

FIN-113, FIN-78

* style: 🎨 Formatted Client & Server Code

* ci: 👷 Fixed Issue with Conventional Commits GA

FIN-112, FIN-78

* ci: 👷 Added Commitlint Configuration

FIN-112, FIN-78

* ci: 👷 Updated Commitlint Configuration& GA

FIN-112, FIN-78

* ci: 👷 Updated `actions/checkout` to v3.5.3

FIN-112, FIN-78

---------

Co-authored-by: ShawnGeorge03 <[email protected]>

* ci: 🔧 updates ESLint Rules (FIN-114)

* ci: 👷 updated TS `ban-types` in Server

FIN-114

* ci: 👷 removed `operator-linebreak` from Project

FIN-114

* ci: 👷 changed `require-jsdoc` to warn

FIN-114

* ci: 👷 changed TS `no-explicit-any` off

FIN-114

* style: 🎨 Formatted Client & Server Code

---------

Co-authored-by: ShawnGeorge03 <[email protected]>

* feat: ✨ squash merge FIN-18 into develop

* feat: ✨ added barebones implimentation for getLearningProgress

* feat: ✨ added barebones implimentation for getLearningProgress

* feat: ✨ Created an endpoint for Learning progress

* feat: ✨ Add continue learning feature to dashboard

* feat: 💄 Improved Ui

* feat: 🚧 Added minor Ui fix

* fix: 🔥 Remove temporary insert endpoint

* fix: 🐛 Fix bug when user sign's up for first time

* fix: 🐛 Fix another minor bug when user sign_in first time

* fix: ♻️ Refactor code to fix linter warnings

* docs: 📝 Added Jsdoc for learningProgress Endpoint

* docs: 📝 Update documentation for getLearningProgress

* style: ♻️ Removed unused comment

* fix: 🔥 fix Pr comments for FIN-18

* feat: 🔥 fix eslint issues for PR for FIN-18

* style: 🎨 Formatted Client & Server Code

* feat: 🐛 fix Pr comments

* fix: 🐛 fix docs to reflect changes

* style: 🎨 Formatted Client & Server Code

---------

Co-authored-by: Balraj Kharol <[email protected]>
Co-authored-by: balraj03 <[email protected]>
Co-authored-by: D3nam <[email protected]>

* Feat/fin 57/search bar learning (#49)

feat: ✨ implemented search bar on Courses page (FIN-57)

---------

Co-authored-by: Aryan Thakur <[email protected]>

* feat: ✨ added Unit Page (FIN-50)

* feat: ✨ made link to `UnitPage` from `CoursePage`

FIN-50

* feat: ✨ created `UnitPage`

FIN-50

* revert: 🎨 removed text capitalize

FIN-50

* fix: 🐛 fixed bug in `GET /units`

FIN-50

* style: 💄 padding for card body

FIN-50

* feat: ✨ added Unit Progress Info

FIN-50

* fix: 🐛 fixed when user has no unit progress

FIN-50

* fix: Make sidepane automatic to avoid overflow (#53)

* fix: Make sidepane automatic to avoid overflow

* style: 🎨 Formatted Client & Server Code

---------

Co-authored-by: Aditya-k-23 <[email protected]>

* feat: ✨ created Progress Pane for All Units Page (FIN-55)

* feat: ✨ Created endpoint for retrieving units progress of a user

* Updated router.ts

* chore: ♻️ Added import statemtents

* feat: ✨ Completed UI for FIN-55

Updated  error checking

Fixed endpoint issues by using clerk userID instead of Mongodb id

* chore: 📦️ updated package.json

* chore: 🐛 removed duplicate

* chore: 🚨 linter warnings

* style: 🎨 Formatted Client & Server Code

* refactor: 🎨 pr changes

* style: 🎨 Formatted Client & Server Code

* style: 🎨 Formatted Client & Server Code

---------

Co-authored-by: adam-badar <[email protected]>
Co-authored-by: Shawn Santhoshgeorge <[email protected]>
Co-authored-by: ShawnGeorge03 <[email protected]>

* docs: 🔀 squash merge PR for FIN-115

* Add sprint review and iteration plan

* Update sprint-01-review.md

* Complete sprint-01-review.md

* doc: Add sprint 2 - burndown and Product Backlog

* docs: Add sprint 2 - Activity diagram and system design document

* docs: 📝 added schedule.pdf for FIN-115

* fix: 📝 add minor typo fix

---------

Co-authored-by: Aditya Kulkarni <[email protected]>

* style: 🎨 Formatted Client & Server Code

---------

Co-authored-by: Shawn Santhoshgeorge <[email protected]>
Co-authored-by: Aditya Kulkarni <[email protected]>
Co-authored-by: Shashwat Doshi <[email protected]>
Co-authored-by: Shashwat Doshi <[email protected]>
Co-authored-by: Shashwat Doshi <[email protected]>
Co-authored-by: Aditya Kulkarni <[email protected]>
Co-authored-by: ShawnGeorge03 <[email protected]>
Co-authored-by: D3nam <[email protected]>
Co-authored-by: aryan-thakur <[email protected]>
Co-authored-by: aryan-thakur <[email protected]>
Co-authored-by: shashwat-doshi <[email protected]>
Co-authored-by: Adam Badar <[email protected]>
Co-authored-by: balraj03 <[email protected]>
Co-authored-by: balraj03 <[email protected]>
Co-authored-by: Balraj Kharol <[email protected]>
Co-authored-by: Aryan Thakur <[email protected]>
Co-authored-by: Aditya-k-23 <[email protected]>
Co-authored-by: Adam Badar <[email protected]>
Co-authored-by: adam-badar <[email protected]>
  • Loading branch information
20 people authored Jul 7, 2023
1 parent 6d8e8e8 commit c78a8a2
Show file tree
Hide file tree
Showing 77 changed files with 13,549 additions and 15,556 deletions.
13 changes: 9 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Please include a summary of the change

JIRA ticket # (issue)
JIRA ticket: **FIN-##**

# Type of change
## Type of change

Please delete options that are not relevant.

Expand All @@ -13,16 +13,21 @@ Please delete options that are not relevant.
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

# How Has This Been Tested?
## How Has This Been Tested?

Summary of tests conducted

- [ ] Test A
- [ ] Test B

# Checklist
## Checklist

- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] New and existing unit tests pass locally with my changes

## PR Closure

- Use **Squash And Merge** to Close Pull Request
- Delete any branch after merging
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI
on:
pull_request:
branches:
- main
- develop
- releases/**
push:
branches:
- main
permissions: write-all
env:
NODE_VERSION: 18
jobs:
lint:
name: Run Linter
runs-on: ubuntu-latest
steps:
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '${{ env.NODE_VERSION }}'

- name: Checkout HEAD Commit
uses: actions/[email protected]
with:
ref: '${{ github.head_ref }}'

- name: Install Dependencies
run: npm ci

- name: Linting Code
run: npm run lint --workspaces
format:
name: Run Prettier
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout HEAD Commit
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}

- name: Run Prettier
run: npx prettier --config .prettierrc --ignore-path .prettierignore -u --write .

- name: Commit Format Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'style: 🎨 Formatted Client & Server Code'
branch: ${{ github.head_ref }}
25 changes: 25 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Linting Commits
on: [pull_request]
env:
NODE_VERSION: 18
jobs:
commitlint:
name: Run Commitlint
runs-on: ubuntu-latest
steps:
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '${{ env.NODE_VERSION }}'

- name: Checkout Branch Commit History
uses: actions/[email protected]
with:
fetch-depth: 0

- name: Install Dependencies
run: npm ci

- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
34 changes: 0 additions & 34 deletions .github/workflows/format.yml

This file was deleted.

72 changes: 40 additions & 32 deletions server/.gitignore → .gitignore
Original file line number Diff line number Diff line change
@@ -1,49 +1,57 @@
## Shared

# Dependencies
node_modules/

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

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

# node-waf configuration
.lock-wscript
# Optional npm cache directory
.npm

# Dependency directories
node_modules/
# Optional eslint cache
.eslintcache

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm
## Client

# Optional eslint cache
.eslintcache
# next.js
client/.next/

# Optional stylelint cache
.stylelintcache
# production
/build

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# misc
.DS_Store
*.pem

# vercel
.vercel

# typescript
next-env.d.ts

## Server

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

# node-waf configuration
.lock-wscript

# Typescript Build
build
43 changes: 27 additions & 16 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,29 +1,40 @@
# See https://prettier.io/docs/en/ignore.html for more about ignoring files.

# dependencies
## Shared

# Dependencies
package-lock.json
node_modules
.pnp
.pnp.js
node_modules/

# testing
coverage
# Logs
logs
*.log
npm-debug.log*

# build files
.next
.build
# Dotenv
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# local env files
.env*.local
# TypeScript cache
*.tsbuildinfo

## Client

# next.js
.next
.build

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
10 changes: 1 addition & 9 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"singleQuote": true,
"bracketSameLine": true,
"singleAttributePerLine": true,
"overrides": [
{
"files": ["package.json", "tsconfig.json", ".eslintrc.json"],
"options": {
"parser": "json"
}
}
]
"singleAttributePerLine": true
}
42 changes: 22 additions & 20 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{
"recommendations": [
"deque-systems.vscode-axe-linter",
"adpyke.codesnap",
"vivaxy.vscode-conventional-commits",
"dbaeumer.vscode-eslint",
"mhutchie.git-graph",
"eamodio.gitlens",
"visualstudioexptteam.vscodeintellicode",
"visualstudioexptteam.intellicode-api-usage-examples",
"ms-vsliveshare.vsliveshare",
"davidanson.vscode-markdownlint",
"esbenp.prettier-vscode",
"shardulm94.trailing-spaces",
"salbert.comment-ts",
"magssch.react-typescript-boilerplate"
],
"unwantedRecommendations": [
"kimlimjustin.jsdoc-generator"
]
}
"recommendations": [
"streetsidesoftware.code-spell-checker",
"deque-systems.vscode-axe-linter",
"adpyke.codesnap",
"vivaxy.vscode-conventional-commits",
"dbaeumer.vscode-eslint",
"figma.figma-vscode-extension",
"mhutchie.git-graph",
"eamodio.gitlens",
"visualstudioexptteam.vscodeintellicode",
"visualstudioexptteam.intellicode-api-usage-examples",
"ms-vsliveshare.vsliveshare",
"davidanson.vscode-markdownlint",
"analytic-signal.preview-pdf",
"esbenp.prettier-vscode",
"shardulm94.trailing-spaces",
"salbert.comment-ts",
"magssch.react-typescript-boilerplate",
"hediet.vscode-drawio"
],
"unwantedRecommendations": ["kimlimjustin.jsdoc-generator"]
}
40 changes: 22 additions & 18 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
{
"editor.bracketPairColorization.enabled": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.guides.bracketPairs": "active",
"editor.inlineSuggest.enabled": true,
"editor.suggestSelection": "first",
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 5,
"files.eol": "\n",
"files.trimFinalNewlines": true,
"prettier.configPath": ".prettierrc",
"prettier.endOfLine": "lf",
"prettier.ignorePath": ".prettierignore",
"conventionalCommits.promptScopes": false ,
"conventionalCommits.emojiFormat":"emoji",
"conventionalCommits.autoCommit": false,
"conventionalCommits.promptCI": false,
"editor.bracketPairColorization.enabled": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.guides.bracketPairs": "active",
"editor.inlineSuggest.enabled": true,
"editor.suggestSelection": "first",
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true
},
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 5,
"files.eol": "\n",
"files.trimFinalNewlines": true,
"prettier.configPath": ".prettierrc",
"prettier.endOfLine": "lf",
"prettier.ignorePath": ".prettierignore",
"conventionalCommits.promptScopes": false,
"conventionalCommits.emojiFormat": "emoji",
"conventionalCommits.autoCommit": false,
"conventionalCommits.promptCI": false
}
Loading

0 comments on commit c78a8a2

Please sign in to comment.