diff --git a/README.md b/README.md index 3c6beed..58d51c7 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@
  1. About The Project
  2. Stack
  3. +
  4. Architecture Diagram
  5. Setup
  6. Usage
  7. Features
  8. @@ -35,9 +36,10 @@ ## About The Project
    - Landing Page + LandingPage
    + CVForge.ai is a SaaS that helps users create a CV suitable for the position they want to apply for with the help of AI. This application uses our database to search for CVs that were accepted for the desired position by the user and utilizes the information provided by the user via uploading their CV, linking their LinkedIn account, or entering their information manually. CVForge.ai uses artificial intelligence to generate a CV tailored to the specific position the user wishes to apply for. Additionally, it provides feedback on the generated CV, helping the user improve their presentation. GPT and LinkedIn APIs are used. ## Stack @@ -56,6 +58,18 @@ CVForge.ai is a SaaS that helps users create a CV suitable for the position they

    (back to top)

    +## Architecture Diagram + +
    + Diag 1 +
    + +## Diagram of Used Technologies + +
    + Diag 2 +
    + ## Setup diff --git a/app/dummyAPI/layout.tsx b/app/dummyAPI/layout.tsx deleted file mode 100644 index e5706d4..0000000 --- a/app/dummyAPI/layout.tsx +++ /dev/null @@ -1,16 +0,0 @@ -export const metadata = { - title: "Next.js", - description: "Generated by Next.js", -} - -export default function RootLayout({ - children, -}: { - children: React.ReactNode -}) { - return ( - - {children} - - ) -} diff --git a/app/dummyAPI/page.tsx b/app/dummyAPI/page.tsx deleted file mode 100644 index 78f7a34..0000000 --- a/app/dummyAPI/page.tsx +++ /dev/null @@ -1,40 +0,0 @@ -"use client" -import { getAllUsers } from "@/services/userService" -import { useEffect, useState } from "react" - -interface User { - users_id: string - email: string - password: string - verification: boolean | null - is_active: boolean | null - last_login: Date | null - created_at: Date | null - updated_at: Date | null -} - -const TestServicesPage = () => { - const [users, setUsers] = useState([]) - - useEffect(() => { - const fetchUsers = async () => { - const usersData = await getAllUsers() - setUsers(usersData) - } - - fetchUsers() - }, []) - - return ( -
    -

    All Users

    -
      - {users.map((user) => ( -
    • 1.{user.email}
    • - ))} -
    -
    - ) -} - -export default TestServicesPage diff --git a/app/user_test/layout.tsx b/app/user_test/layout.tsx deleted file mode 100644 index e5706d4..0000000 --- a/app/user_test/layout.tsx +++ /dev/null @@ -1,16 +0,0 @@ -export const metadata = { - title: "Next.js", - description: "Generated by Next.js", -} - -export default function RootLayout({ - children, -}: { - children: React.ReactNode -}) { - return ( - - {children} - - ) -} diff --git a/app/user_test/page.tsx b/app/user_test/page.tsx deleted file mode 100644 index fd04fec..0000000 --- a/app/user_test/page.tsx +++ /dev/null @@ -1,48 +0,0 @@ -"use client" - -import { useState } from "react" - -export default function Home() { - const [users, setUsers] = useState([]) - - const createUser = async () => { - const userData = { - first_name: "Test", - last_name: "lol", - email: "example@mail.com", - password: "123", - } - - const response = await fetch("/api/db/user", { - method: "POST", - headers: { - "Content-Type": "application/json", - }, - body: JSON.stringify(userData), - }) - - const data = await response.json() - console.log(data) - } - - const fetchUsers = async () => { - const response = await fetch("/api/db/user") - const data = await response.json() - setUsers(data) - console.log(data) - } - - return ( -
    - - -
    - {users.map((user: any, index: number) => ( -
    - {user.email} - {user.first_name} - {user.password} -
    - ))} -
    -
    - ) -} diff --git a/public/assets/CVForge_Architecture.png b/public/assets/CVForge_Architecture.png new file mode 100644 index 0000000..b595371 Binary files /dev/null and b/public/assets/CVForge_Architecture.png differ diff --git a/public/assets/diag1.png b/public/assets/diag1.png new file mode 100644 index 0000000..94d8529 Binary files /dev/null and b/public/assets/diag1.png differ diff --git a/public/assets/diag2.png b/public/assets/diag2.png new file mode 100644 index 0000000..819f191 Binary files /dev/null and b/public/assets/diag2.png differ