Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
7827f9b
Merge pull request #6 from Thambara-20/deleteUser
Thambara-20 Jan 16, 2024
c5d82d1
updated
Thambara-20 Jan 16, 2024
36c0320
project initialized
Thambara-20 Jan 16, 2024
7bf8ddf
updated
Thambara-20 Jan 16, 2024
47d4416
updated backend folder structure
Thambara-20 Jan 16, 2024
fa013c5
Merge pull request #7 from Thambara-20/Server
Thambara-20 Jan 16, 2024
9ec53b6
updated dependencies
Thambara-20 Jan 17, 2024
0bc333d
Merge pull request #8 from Thambara-20/Server
Thambara-20 Jan 17, 2024
5fdcdbc
created database
Thambara-20 Jan 17, 2024
86d3338
updated db configurations
Thambara-20 Jan 17, 2024
2c41316
created student entity
Thambara-20 Jan 17, 2024
db256f8
Merge pull request #9 from Thambara-20/Database
Thambara-20 Jan 17, 2024
a44e2ff
implemented functionalities
Thambara-20 Jan 17, 2024
f7e542a
fixed id issue
Thambara-20 Jan 17, 2024
d2e741a
frontend connected
Thambara-20 Jan 17, 2024
5b76f38
updated .env
Thambara-20 Jan 18, 2024
100e0f0
Merge pull request #10 from Thambara-20/Functions
Thambara-20 Jan 18, 2024
f2d9fb6
fixed bugs
Thambara-20 Jan 18, 2024
c108adb
Merge pull request #11 from Thambara-20/BugFix
Thambara-20 Jan 18, 2024
d663ccf
connected addUser API
Thambara-20 Jan 18, 2024
dd40766
implemented delete functionality
Thambara-20 Jan 18, 2024
efb1444
added service functions
Thambara-20 Jan 18, 2024
6c7eeaa
updated folder structure
Thambara-20 Jan 19, 2024
d7fb09e
updated files
Thambara-20 Jan 20, 2024
46bc675
Merge pull request #12 from Thambara-20/Integration
Thambara-20 Jan 20, 2024
2e96f56
implementd Socket.io server
Thambara-20 Jan 21, 2024
9afefe4
updated files
Thambara-20 Jan 21, 2024
63c7a88
implemented socket.io notification service
Thambara-20 Jan 21, 2024
d210f07
Merge pull request #13 from Thambara-20/Socket.IO
Thambara-20 Jan 21, 2024
3351925
updated action buttons
Thambara-20 Jan 21, 2024
d74c65b
improved notification service
Thambara-20 Jan 21, 2024
690424f
Merge pull request #14 from Thambara-20/Socket.IO
Thambara-20 Jan 21, 2024
0f8b458
initialized testing environment
Thambara-20 Jan 22, 2024
ed0b008
testcases implemented for components
Thambara-20 Jan 22, 2024
5d8313f
implemented tests for containers
Thambara-20 Jan 23, 2024
3bdf1c9
test cases implemented for front end
Thambara-20 Jan 23, 2024
e11b620
initialized backend unit testing
Thambara-20 Jan 23, 2024
84cf8cb
implemented testcases
Thambara-20 Jan 23, 2024
c755f54
updated notification file
Thambara-20 Jan 24, 2024
c6c9005
updated notification test
Thambara-20 Jan 24, 2024
c7288cb
Merge pull request #15 from Thambara-20/Testing
Thambara-20 Jan 24, 2024
eb56fbf
updated
Thambara-20 Jan 24, 2024
0a3afcf
Merge branch 'Testing'
Thambara-20 Jan 24, 2024
a814650
updated
Thambara-20 Jan 24, 2024
a9bb220
Merge branch 'Testing'
Thambara-20 Jan 24, 2024
26be8df
updated main
Thambara-20 Jan 24, 2024
01a636c
updated
Thambara-20 Jan 24, 2024
21dd51e
deploying started
Thambara-20 Jan 24, 2024
339a6e7
updated
Thambara-20 Jan 24, 2024
cc8dce1
Merge pull request #16 from Thambara-20/deploy
Thambara-20 Jan 24, 2024
e113560
updated module names
Thambara-20 Jan 24, 2024
e7c0d88
Merge pull request #17 from Thambara-20/deploy
Thambara-20 Jan 24, 2024
b33ae0a
deployed
Thambara-20 Jan 24, 2024
bc8959e
Merge pull request #18 from Thambara-20/deploy
Thambara-20 Jan 24, 2024
ba4be03
updated
Thambara-20 Jan 29, 2024
c09033c
fixed date format bug
Thambara-20 Jan 29, 2024
0c17947
fixed order issue
Thambara-20 Jan 29, 2024
5fcf66e
fixed empty fields bug
Thambara-20 Jan 29, 2024
33c6cac
fixed error message bug
Thambara-20 Jan 29, 2024
a5addc5
Merge pull request #20 from Thambara-20/deploy
Thambara-20 Jan 29, 2024
986a751
implemented add user page
Thambara-20 Jan 30, 2024
a5bd68e
implemented middleware
Thambara-20 Jan 30, 2024
8715a00
implemented onetime link generation
Thambara-20 Jan 30, 2024
1ad634f
implemented email service
Thambara-20 Jan 30, 2024
b3b4227
implemented redux user store
Thambara-20 Jan 31, 2024
cce3730
implemented user adding function
Thambara-20 Jan 31, 2024
c20b946
implemented password create UI
Thambara-20 Jan 31, 2024
7e3085a
validation implemented for password
Thambara-20 Jan 31, 2024
c80e342
integrated user password creation endpoint
Thambara-20 Jan 31, 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
17 changes: 0 additions & 17 deletions .github/workflows/firebase-hosting-pull-request.yml

This file was deleted.

15 changes: 4 additions & 11 deletions ramp-up/.eslintrc.json → backend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended"
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"react"
"@typescript-eslint"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"@typescript-eslint/no-unused-vars": "warning"
}
}
19 changes: 19 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.idea/
.vscode/
.env
build/
/node_modules
tmp/
temp/
/.pnp
.pnp.js
/coverage
.prettierrc.json
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
7 changes: 7 additions & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Awesome Project Build with TypeORM

Steps to run this project:

1. Run `npm i` command
2. Setup database settings inside `data-source.ts` file
3. Run `npm start` command
202 changes: 202 additions & 0 deletions backend/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
/**
* For a detailed explanation regarding each configuration property, visit:
* https://jestjs.io/docs/configuration
*/

import type {Config} from 'jest';

const config: Config = {
preset: "ts-jest",

coverageReporters: ["lcov", "text", "html"],
// All imported modules in your tests should be mocked automatically
// automock: false,

// Stop running tests after `n` failures
// bail: 0,

// The directory where Jest should store its cached dependency information
// cacheDirectory: "C:\\Users\\thamb\\AppData\\Local\\Temp\\jest",

// Automatically clear mock calls, instances, contexts and results before every test
clearMocks: true,

// Indicates whether the coverage information should be collected while executing the test
collectCoverage: true,

// An array of glob patterns indicating a set of files for which coverage information should be collected
// collectCoverageFrom: undefined,

// The directory where Jest should output its coverage files
coverageDirectory: "coverage",

// An array of regexp pattern strings used to skip coverage collection
// coveragePathIgnorePatterns: [
// "\\\\node_modules\\\\"
// ],

// Indicates which provider should be used to instrument code for coverage
coverageProvider: "v8",

// A list of reporter names that Jest uses when writing coverage reports
// coverageReporters: [
// "json",
// "text",
// "lcov",
// "clover"
// ],

// An object that configures minimum threshold enforcement for coverage results
// coverageThreshold: undefined,

// A path to a custom dependency extractor
// dependencyExtractor: undefined,

// Make calling deprecated APIs throw helpful error messages
// errorOnDeprecated: false,

// The default configuration for fake timers
// fakeTimers: {
// "enableGlobally": false
// },

// Force coverage collection from ignored files using an array of glob patterns
// forceCoverageMatch: [],

// A path to a module which exports an async function that is triggered once before all test suites
// globalSetup: undefined,

// A path to a module which exports an async function that is triggered once after all test suites
// globalTeardown: undefined,

// A set of global variables that need to be available in all test environments
// globals: {},

// The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.
// maxWorkers: "50%",

// An array of directory names to be searched recursively up from the requiring module's location
// moduleDirectories: [
// "node_modules"
// ],

// An array of file extensions your modules use
// moduleFileExtensions: [
// "js",
// "mjs",
// "cjs",
// "jsx",
// "ts",
// "tsx",
// "json",
// "node"
// ],

// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
// moduleNameMapper: {},

// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
// modulePathIgnorePatterns: [],

// Activates notifications for test results
// notify: false,

// An enum that specifies notification mode. Requires { notify: true }
// notifyMode: "failure-change",

// A preset that is used as a base for Jest's configuration
// preset: undefined,

// Run tests from one or more projects
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
// reporters: undefined,

// Automatically reset mock state before every test
// resetMocks: false,

// Reset the module registry before running each individual test
// resetModules: false,

// A path to a custom resolver
// resolver: undefined,

// Automatically restore mock state and implementation before every test
// restoreMocks: false,

// The root directory that Jest should scan for tests and modules within
// rootDir: undefined,

// A list of paths to directories that Jest should use to search for files in
// roots: [
// "<rootDir>"
// ],

// Allows you to use a custom runner instead of Jest's default test runner
// runner: "jest-runner",

// The paths to modules that run some code to configure or set up the testing environment before each test
// setupFiles: [],

// A list of paths to modules that run some code to configure or set up the testing framework before each test
// setupFilesAfterEnv: [],

// The number of seconds after which a test is considered as slow and reported as such in the results.
// slowTestThreshold: 5,

// A list of paths to snapshot serializer modules Jest should use for snapshot testing
// snapshotSerializers: [],

// The test environment that will be used for testing
// testEnvironment: "jest-environment-node",

// Options that will be passed to the testEnvironment
// testEnvironmentOptions: {},

// Adds a location field to test results
// testLocationInResults: false,

// The glob patterns Jest uses to detect test files
testMatch: [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[tj]s?(x)"
],

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
// "\\\\node_modules\\\\"
// ],

// The regexp pattern or array of patterns that Jest uses to detect test files
// testRegex: [],

// This option allows the use of a custom results processor
// testResultsProcessor: undefined,

// This option allows use of a custom test runner
// testRunner: "jest-circus/runner",

// A map from regular expressions to paths to transformers
// transform: undefined,

// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
// transformIgnorePatterns: [
// "\\\\node_modules\\\\",
// "\\.pnp\\.[^\\\\]+$"
// ],

// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
// unmockedModulePathPatterns: undefined,

// Indicates whether each individual test should be reported during the run
// verbose: undefined,

// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
// watchPathIgnorePatterns: [],

// Whether to use watchman for file crawling
// watchman: true,
};

export default config;
Loading