Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#187419005 Users should be able to Login with Email and Password #7

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

cyusasnave
Copy link
Collaborator

@cyusasnave cyusasnave commented Jun 10, 2024

Users should be able to Login with Email and Password

To be able to use the application and access authenticated routes, a login form should be presented to users.

How to test it?

  • Clone the repo and cd into it
  • Checkout to feat-implement-login and run npm install
  • Then run npm run dev and navigate to /login

Pivot tracker id

187419005

Copy link

netlify bot commented Jun 10, 2024

Deploy Preview for shop-trove ready!

Name Link
🔨 Latest commit 6375ab7
🔍 Latest deploy log https://app.netlify.com/sites/shop-trove/deploys/666b35094fc56200086c4e0e
😎 Deploy Preview https://deploy-preview-7--shop-trove.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cyusasnave cyusasnave force-pushed the feat-implement-login branch 4 times, most recently from e1e554f to a4b9850 Compare June 11, 2024 11:37
@cyusasnave cyusasnave changed the title #187419005 Implement login feature #187419005 Users should be able to Login with Email and Password Jun 11, 2024
@cyusasnave cyusasnave force-pushed the feat-implement-login branch 4 times, most recently from 1d705b4 to 55e66f6 Compare June 12, 2024 14:40
@cyusasnave cyusasnave removed the request for review from GarrixA June 12, 2024 16:36
@cyusasnave cyusasnave force-pushed the feat-implement-login branch 4 times, most recently from b97bf6d to d429280 Compare June 13, 2024 17:57
@@ -1,8 +1,43 @@
import axios from "axios";
import axios, {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -1,9 +1,9 @@
import { configureStore } from "@reduxjs/toolkit";
import usersSlice from "./features/userSlice";
import { configureStore } from '@reduxjs/toolkit';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -1,9 +1,9 @@
import { render, screen } from "@testing-library/react";
import About from "../../src/pages/About";
import { render, screen } from '@testing-library/react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -1,10 +1,10 @@
import { render, screen } from "@testing-library/react";
import Footer from "../../src/components/Footer";
import { render, screen } from '@testing-library/react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,48 @@
import { render, screen } from '@testing-library/react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,55 @@
import { render, screen } from '@testing-library/react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,11 @@
import { render, screen } from '@testing-library/react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,28 @@
import { render, screen } from '@testing-library/react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -1,8 +1,8 @@
import { render } from "@testing-library/react";
import Home from "../../src/pages/Home";
import { render } from '@testing-library/react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,27 @@
import { fireEvent, render, screen } from '@testing-library/react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,5 @@
export interface LoginState {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -1,4 +1,4 @@
import Routers from "./routes";
import Routers from './routes';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,38 @@
import { forwardRef, LegacyRef } from 'react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

import { Outlet } from "react-router-dom";
import Nav from "./Nav";
import Footer from "./Footer";
import { Outlet } from 'react-router-dom';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,22 @@
import { ReactNode } from 'react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,55 @@
import bgImage from '../../assets/register-login-card-image.svg';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,30 @@
import { useEffect, useState } from 'react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,17 @@
import { toast } from 'sonner';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,24 @@
import { useState } from 'react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

import App from "./App";
import { Provider } from "react-redux";
import { store } from "./redux/store";
import React from 'react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -1,5 +1,5 @@
const About = () => {
return <div>About Us</div>;
return <div className="flex-center h-screen text-7xl">About Us</div>;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: Unexpected token <

))}
</div>
);
return <div className="flex-center h-screen text-7xl">Home Page</div>;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: Unexpected token <

@@ -0,0 +1,19 @@
import LoginForm from '../../components/auth/LoginForm';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -0,0 +1,5 @@
const Register = () => {
return <div className="flex-center h-screen text-7xl">Register Page</div>;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: Unexpected token <

@@ -0,0 +1,48 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { createAsyncThunk, createSlice, PayloadAction } from '@reduxjs/toolkit';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

import { render } from "@testing-library/react";
import { MemoryRouter } from "react-router-dom";
import App from "../../src/App";
import { render } from '@testing-library/react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

import React from "react";
describe("Main Component", () => {
it("renders App without error", () => {
import { render } from '@testing-library/react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -1,4 +1,4 @@
import * as matchers from "@testing-library/jest-dom/matchers";
import { expect } from "vitest";
import * as matchers from '@testing-library/jest-dom/matchers';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -1,7 +1,7 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { defineConfig } from 'vite';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@@ -1,19 +1,19 @@
import { defineConfig } from "vitest/config";
import { defineConfig } from 'vitest/config';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@leandreAlly leandreAlly merged commit d0f0360 into develop Jun 13, 2024
10 checks passed
kwizera-bonheur25 pushed a commit that referenced this pull request Jun 14, 2024
#187419005 Users should be able to Login with Email and Password
kwizera-bonheur25 pushed a commit that referenced this pull request Jun 16, 2024
#187419005 Users should be able to Login with Email and Password
Angemichel12 pushed a commit that referenced this pull request Jun 21, 2024
#187419005 Users should be able to Login with Email and Password
Angemichel12 added a commit that referenced this pull request Jun 26, 2024
# This is the 1st commit message:

feat(user profile update) implementation of user profile update #187419019

# This is the commit message #2:

chore(Empty react project): setup empty react project [Finishes #187418992
]

# This is the commit message #3:

fix(fix react project setup) fixing react empty project setup

# This is the commit message #4:

chore(setup tailwind Css): Setting up TailwindCss styling Environment
Finishes #187418997

# This is the commit message #5:

chore(readme): add all badges technologies

[Delivers #187419042]

# This is the commit message #6:

test(testing folder): Change folder structure to be in the root folder

- Moved the test folder from src to the root folder for better organization.
- Added setupTest.ts in the test folder.
- Updated vite.config.ts to include the test configuration.

# This is the commit message #7:

eslint

# This is the commit message #8:

eslint

# This is the commit message #9:

eslint

# This is the commit message #10:

chore(setup Eslint, Pre-commit and Hound ci): setting up the eslint, precommit and hound ci

# This is the commit message #11:

chore(Eslint): Eslint, git preccommit and hound

# This is the commit message #12:

my commit

# This is the commit message #13:

test(testing folder): Change folder structure to be in the root folder

- Moved the test folder from src to the root folder for better organization.
- Added setupTest.ts in the test folder.
- Updated vite.config.ts to include the test configuration.

# This is the commit message #14:

feat(login): Implement login

# This is the commit message #15:

feat(Register): Users should be able Signup/Register to the E-commerce App
-[Delivers #187419003]

feat(Register): Users should be able Signup/Register to the E-commerce App
-[Delivers #187419003]

# This is the commit message #16:

fix(sign up responsivenes): fix the responsiveness of sign up

# This is the commit message #17:

fix(sign up responsivenes): fix the responsiveness of sign up

# This is the commit message #18:

feat(heroe): heroe section

# This is the commit message #19:

feat(verify-email):User should be able to verify the email

# This is the commit message #20:

feat(user profile update) implementation of user profile update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants