arthurlbo / delta-login

πŸ’» Challenge of an interface design for authentication, end to end, from the ui to the code.

Home Page:https://delta.arthurlobo.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hi there! πŸ‘‹

A front end challenge of an interface for authentication, from prototype to code.

The objective of this challenge was to improve my UX and UI skills, applying design principles to create a login form and also the improvement of tools for frontend development such as next, typescript, tailwind, tests with cypress, react-hook-form, among others .

Inside the code, I focused on following the good practices of React, breaking down the application into reusable components, leaving the form and inputs ready to be sent to an API and being able to be reused in different ways, validating form information with zod, testing components with cypress, and documenting components with storybook.

Prototype in Figma

What is inside?

Getting Started

Install dependencies:

pnpm install

or

yarn

or

npm install

Run development server

pnpm dev

or

yarn dev

or

npm run dev

Open http://localhost:3000 with your browser to see the result.

Structure

└── src
    β”œβ”€β”€ app
    β”œβ”€β”€ assets
    β”œβ”€β”€ components
    β”œβ”€β”€ utils
Folder Description
app Pages
assets Images and static files for application
components Pages components
utils Auxiliary and reusable functions

Conventions

Components

└── <MyComponent>
    β”œβ”€β”€ <MyComponent>.tsx
    β”œβ”€β”€ <MyComponent>.spec.tsx
    β”œβ”€β”€ <MyComponent>.stories.tsx
    └── index.ts
Files Description
.tsx Component implementation
.spec.tsx Component tests
.stories.tsx Storybook component
index.ts File to export the component

Commands

  • dev: run development server
  • build: creates the production build version
  • lint: runs the linter in all components and pages
  • storybook: runs docs with storybook
  • cypress: open cypress
  • test: run test file
  • commit: commit staged changes

Todo

  • User registration
  • Forgot password
  • Improve component tests
  • Integration with NextAuth

Made with 🀍 by Arthur

About

πŸ’» Challenge of an interface design for authentication, end to end, from the ui to the code.

https://delta.arthurlobo.com


Languages

Language:TypeScript 92.4%Language:JavaScript 4.7%Language:HTML 1.7%Language:CSS 0.8%Language:Shell 0.5%