The project consists of a login page, a multi-step registration page, a dashboard page to display user information, and options to log out or delete the account.
-
Login Page: Allows users to log in to the application.
-
Registration Page: A multi-step registration page with the following steps:
- User Information: Users provide their personal information in this step.
- Address Information: Users can enter a ZIP code, which will integrate with the ViaCEP API to automatically populate the remaining address fields.
- Social Step: Users have the option to add LinkedIn and GitHub links.
-
Dashboard Page: Displays user information and provides the option to log out or delete the account.
- React.js
- TypeScript
- React Router Dom
- Tailwind CSS
- React Hook Form
- Zod
- Testing Library
- Vite
- Node.js
- Fastify
- Zod
- Prisma ORM
- Vite
- Clone the repository:
git clone https://github.com/EvandroRodCoelho/Multi-Step-Form.git
- Navigate to the project directory:
cd web
andcd server
- Install the dependencies:
npm install
dev
: Start the development server using Vite.build
: Build the project using TypeScript and Vite.lint
: Run ESLint on thesrc
directory to check for linting issues.preview
: Preview the built project using Vite.host
: Start the Vite server with a custom host.
test
: Run tests using Vitest.dev
: Start the development server usingtsx watch src/serve.ts
.vercel-build
: Deploy migrations using Prisma withnpx prisma migrate deploy
.build
: Build the project usingtsup
on thesrc
directory.start
: Start the server usingnode dist/serve.js
.
Contributions are welcome! Feel free to open an issue or submit a pull request.