Giter Site home page Giter Site logo

interviewspark's Introduction

InterviewSpark with AWS Amplify

InterviewSpark is an AI-powered mock interview tool that assists job seekers in honing their interview skills and boosting their confidence. Developed using React, it's underpinned by AWS Amplify and incorporates a wide range of UI components, pages, and plugins to provide a comprehensive mock interview experience.

Getting Started

To dive into InterviewSpark, ensure Node.js and npm are installed on your system. Setting up an AWS account is essential, along with initializing an AWS Amplify app. Once set, follow these steps:

  1. Clone the repository: git clone https://github.com/Charlie059/InterviewSpark.git

  2. Install dependencies: npm install

  3. Set up Amplify:

amplify pull --appId d38e770jlxdzpa --envName staging
  1. Start the development server:
npm run dev
  1. Navigate to http://localhost:3000 in your web browser.

Documentation

All backend documentation for InterviewSpark is available on Github. This encompasses installation, setup, customization, FAQs, and troubleshooting advice.

Frontend Docs in Storybook

Storybook is a powerful tool for developing and documenting UI components in isolation. It allows you to visualize different states of your components, develop them interactively, and organize them hierarchically based on atomic design principles.

How to run Storybook?

  • Installation: If you haven't already set up Storybook in your project, you can add it using npm or yarn:

    npx sb init

This command sets up the necessary configuration and installs dependencies. Storybook supports various frameworks like React, Vue, Angular, etc. It will try to detect the framework you're using.

  • Running Storybook::

    npm run storybook

    This command will start the Storybook server and open it in your default web browser. By default, it will run on http://localhost:6006/.

Support

For any hiccups with InterviewSpark, please contact our project team. Bug reports and feature suggestions are welcome on the Jira.

Important Notes

  • Ensure sensitive data like passwords or API keys are never hard-coded.
  • Exercise caution regarding potential security threats, especially when managing user input.
  • Refrain from uploading .env files to git.
  • Execute a npm build and ensure no errors exist before any push.
  • Do not use amplify push unless you have permission

Code Review and Best Practices

  • Every pull request needs scrutiny from at least one other developer.
  • Address all feedback before concluding the merge.
  • Prefix commit messages with the corresponding Jira ticket number.
  • Employ Cypress E2E for frontend tests. To activate in npm, utilize the appropriate command.
  • SAM is the chosen tool for backend processes, currently in transition.

interviewspark's People

Contributors

charlie059 avatar shenfan0613 avatar ruoxin-chen avatar thirteendian avatar pickle-cpu avatar renzhili avatar pisoc912 avatar raplin1999 avatar

Watchers

 avatar

interviewspark's Issues

Add createGuestUser and createGuestProfile in GraphQL

Mutation: createGuestUser

Description

Creates a new guest user with the specified email address, unique handle, first name, and last name.

Input

Field Type Description
emailAddress AWSEmail! The email address of the guest user to be created.
uniqueHandle String! A unique handle for the guest user.
fName String! The first name of the guest user.
lName String! The last name of the guest user.

Output

The mutation returns a GuestUser object representing the newly created guest user.

Field Type Description
emailAddress AWSEmail! The email address of the guest user.
uniqueHandle String! The unique handle of the guest user.
fName String! The first name of the guest user.
lName String! The last name of the guest user.

Errors

The mutation can return the following errors:

Error Code Description
PramsMissingError The provided prams is missing.
InvalidEmailAddressError The provided email address is invalid.
InvalidUniqueHandleError The provided unique handle is invalid.

Example

Request

mutation {
  createGuestUser(
    emailAddress: "[email protected]"
    uniqueHandle: "example"
    fName: "John"
    lName: "Doe"
  ) {
    emailAddress
    uniqueHandle
    fName
    lName
  }
}

MockInteview NaN Issues

xt-dev.js:20 Warning: Received NaN for the strokeDashoffset attribute. If this is expected, cast the value to a string.

Interview component Pagement issues

// TODO: remove the limit
const result = await API.graphql(
graphqlOperation(getInterviewList, {
emailAddress,
limit: 1000
})
)

Not good to scan the DB to count rather than Update the DB

Email Checker Issues

  1. Register in Gmail using the symbol '.' is legal, If some user's original email address is: [email protected], then she will never receive the email. For example, my original address is '[email protected]

  2. Some email systems may allow users to register the original address including '+', if add a checker, then she will never receive the email.

Need Tutorial

App needs a starter tutorial:
register => Resume Analysis => display analysis result => Mock interview (with gpt generated questions?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.