diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 39261c41..00000000 --- a/.dockerignore +++ /dev/null @@ -1,27 +0,0 @@ -# Android App -/app - -# Build Artifacts -/schema/dist -/server/dist -/client/.next - -# IDEs -.vscode - -# Project Metadata -.crowdin.yml - -# Documentation -README.md -SECURITY.md -CHANGELOG.md -CODE_OF_CONDUCT.md - -# Project Dependencies -**/node_modules - -# Docker -Dockerfile -.dockerignore -docker-compose.yml diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 7278fb63..00000000 --- a/.editorconfig +++ /dev/null @@ -1,8 +0,0 @@ -root = true - -[*] -charset = utf-8 -indent_size = 2 -indent_style = space -insert_final_newline = true -trim_trailing_whitespace = true diff --git a/.env.example b/.env.example deleted file mode 100644 index 1692f9f6..00000000 --- a/.env.example +++ /dev/null @@ -1,36 +0,0 @@ -# Server + Client -TZ=UTC -PUBLIC_URL=http://localhost:3000 -PUBLIC_SERVER_URL=http://localhost:3100 -PUBLIC_GOOGLE_CLIENT_ID= - -# Server + Database -POSTGRES_DB=postgres -POSTGRES_USER=postgres -POSTGRES_PASSWORD=postgres - -# Server -SECRET_KEY= -POSTGRES_HOST=localhost -POSTGRES_PORT=5432 -POSTGRES_SSL_CERT= -JWT_SECRET= -JWT_EXPIRY_TIME=604800 -GOOGLE_CLIENT_SECRET= -GOOGLE_API_KEY= -MAIL_FROM_NAME= -MAIL_FROM_EMAIL= -MAIL_HOST= -MAIL_PORT= -MAIL_USERNAME= -MAIL_PASSWORD= -STORAGE_BUCKET= -STORAGE_REGION= -STORAGE_ENDPOINT= -STORAGE_URL_PREFIX= -STORAGE_ACCESS_KEY= -STORAGE_SECRET_KEY= -PDF_DELETION_TIME=345600000 - -# Client -PUBLIC_FLAG_DISABLE_SIGNUPS=false diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 1bab8c6f..00000000 --- a/.eslintrc.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parser": "@typescript-eslint/parser", - "extends": ["plugin:@typescript-eslint/recommended"], - "plugins": ["@typescript-eslint/eslint-plugin", "unused-imports", "simple-import-sort"], - "rules": { - // ESLint - "no-unused-vars": "off", - - // Unused Imports - "unused-imports/no-unused-imports": "error", - "unused-imports/no-unused-vars": [ - "warn", - { - "vars": "all", - "args": "none", - "varsIgnorePattern": "^_", - "argsIgnorePattern": "^_" - } - ], - - // Simple Import Sort - "simple-import-sort/imports": "error", - "simple-import-sort/exports": "error", - - // TypeScript ESLint - "@typescript-eslint/no-unused-vars": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/no-non-null-assertion": "off", - "@typescript-eslint/interface-name-prefix": "off", - "@typescript-eslint/explicit-function-return-type": "off", - "@typescript-eslint/explicit-module-boundary-types": "off" - }, - "overrides": [ - { - "files": ["*.js"], - "rules": { - "@typescript-eslint/no-var-requires": "off" - } - } - ] -} diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 1f81cc42..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,2 +0,0 @@ -github: AmruthPillai -custom: https://paypal.me/amruthde diff --git a/.github/ISSUE_TEMPLATE/bug-report.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml deleted file mode 100644 index 11cdfb09..00000000 --- a/.github/ISSUE_TEMPLATE/bug-report.yaml +++ /dev/null @@ -1,75 +0,0 @@ -name: 🐞 Bug Report -description: Create a bug report to help improve Reactive Resume. - -title: '[Bug]
- {t('builder.common.glossary.page')} {pageIndex + 1} -
- -{columnIndex ? 'Sidebar' : 'Main'}
- - - - {/* Sections */} - {sections.map((sectionId, sectionIndex) => ( -{t('builder.rightSidebar.sections.links.donate.body')}
- - - }>{t('builder.rightSidebar.sections.links.donate.button')} - -{t('builder.rightSidebar.sections.links.bugs-features.body')}
- - - }>{t('builder.rightSidebar.sections.links.bugs-features.button')} - -{template.name}
-{title}
-{subtitle}
-{resume.name}
-{t('dashboard.resume.timestamp', { timestamp: getRelativeTime(resume.updatedAt) })}
-- A free and open-source resume builder that simplifies the tasks of creating, updating, and sharing your - resume. -
- -{message}- -
- Reactive Resume is a free and open-source resume builder that simplifies the tasks of creating, updating, and - sharing your resume. -
- -
- - Reactive Resume has helped people land jobs at these great companies: -
-- If this app has helped you with your job hunt, let me know by reaching out through{' '} - - this contact form - - . -
-{t('common.footer.license')}
- -
-
{t('modals.auth.forgot-password.body')}
- - - -{t('modals.auth.forgot-password.help-text')}
-{t('modals.auth.login.body')}
- - - - {!FLAG_DISABLE_SIGNUPS && ( -
-
-
{t('modals.auth.register.body')}
- - - -
-
{t('modals.auth.reset-password.body')}
- - - - ); -}; - -export default ResetPasswordModal; diff --git a/client/modals/auth/UserProfileModal.tsx b/client/modals/auth/UserProfileModal.tsx deleted file mode 100644 index b83f831b..00000000 --- a/client/modals/auth/UserProfileModal.tsx +++ /dev/null @@ -1,159 +0,0 @@ -import { joiResolver } from '@hookform/resolvers/joi'; -import { CrisisAlert, ManageAccounts } from '@mui/icons-material'; -import { Button, Divider, TextField } from '@mui/material'; -import Joi from 'joi'; -import { useRouter } from 'next/router'; -import { Trans, useTranslation } from 'next-i18next'; -import { useEffect, useMemo, useState } from 'react'; -import { Controller, useForm } from 'react-hook-form'; -import { useMutation } from 'react-query'; - -import Avatar from '@/components/shared/Avatar'; -import BaseModal from '@/components/shared/BaseModal'; -import { deleteAccount, updateProfile, UpdateProfileParams } from '@/services/auth'; -import { ServerError } from '@/services/axios'; -import { useAppDispatch, useAppSelector } from '@/store/hooks'; -import { setModalState } from '@/store/modal/modalSlice'; - -type FormData = { - name: string; - email: string; -}; - -const defaultState: FormData = { - name: '', - email: '', -}; - -const schema = Joi.object({ - name: Joi.string().required(), - email: Joi.string() - .email({ tlds: { allow: false } }) - .required(), -}); - -const UserProfileModal = () => { - const router = useRouter(); - - const { t } = useTranslation(); - - const dispatch = useAppDispatch(); - - const [deleteText, setDeleteText] = useState{t('modals.auth.profile.delete-account.body', { keyword: 'delete' })}
- -{t('modals.dashboard.create-resume.body')}
- - - - ); -}; - -export default CreateResumeModal; diff --git a/client/modals/dashboard/ImportExternalModal.tsx b/client/modals/dashboard/ImportExternalModal.tsx deleted file mode 100644 index 22d922b0..00000000 --- a/client/modals/dashboard/ImportExternalModal.tsx +++ /dev/null @@ -1,220 +0,0 @@ -import { Code, ImportExport, LinkedIn, TrackChanges, UploadFile } from '@mui/icons-material'; -import { Button, Divider } from '@mui/material'; -import { Integration, Resume } from 'schema'; -import { Trans, useTranslation } from 'next-i18next'; -import { useRef } from 'react'; -import toast from 'react-hot-toast'; -import { useMutation } from 'react-query'; - -import BaseModal from '@/components/shared/BaseModal'; -import { RESUMES_QUERY } from '@/constants/index'; -import { ServerError } from '@/services/axios'; -import { importFromExternal, ImportFromExternalParams } from '@/services/integrations'; -import queryClient from '@/services/react-query'; -import { useAppDispatch, useAppSelector } from '@/store/hooks'; -import { setModalState } from '@/store/modal/modalSlice'; - -const FILE_UPLOAD_MAX_SIZE = 2000000; // 2 MB - -const ImportExternalModal: React.FC = () => { - const { t } = useTranslation(); - - const dispatch = useAppDispatch(); - - const linkedinInputRef = useRef
-
- {t('modals.dashboard.import-external.json-resume.heading')}
-
-
{t('modals.dashboard.import-external.reactive-resume.body')}
- -- Made with Reactive Resume -
-