No description
Find a file
Jesus Vasquez c9dd083eae e2e tests
2024-03-05 21:32:42 -05:00
.github docs: change layout and tweak the readme file 2024-01-18 22:28:54 +01:00
.storybook feat: add sample components & stories 2023-04-21 11:20:31 +02:00
.vscode chore: setup tailwind 2023-04-16 18:17:54 +02:00
app styling 2024-03-04 23:33:49 -05:00
components/Form e2e tests 2024-03-05 21:32:42 -05:00
e2e e2e tests 2024-03-05 21:32:42 -05:00
styles styling 2024-03-04 23:33:49 -05:00
.all-contributorsrc docs: update .all-contributorsrc 2024-01-18 21:46:58 +00:00
.eslintignore chore: setup CI/CD pipelines: check, playwright, bundle analyzer 2023-04-21 12:02:52 +02:00
.eslintrc.js chore: bump dependencies 2023-11-25 18:17:44 +01:00
.gitignore chore: bump all deps 2023-10-17 00:38:06 +02:00
.pre-commit-config.yaml chore: setup conventional commits hook 2023-04-03 19:03:24 +02:00
.prettierignore chore: setup CI/CD pipelines: check, playwright, bundle analyzer 2023-04-21 12:02:52 +02:00
.releaserc chore: semantic release setup 2023-05-17 17:31:27 +02:00
env.mjs feat: add env validation 2023-05-03 19:16:12 +02:00
git-conventional-commits.yaml chore: setup conventional commits hook 2023-04-03 19:03:24 +02:00
graph.svg chore: setup coupling graph generation 2023-04-21 12:57:01 +02:00
instrumentation.ts chore: setup open telemetry 2023-04-21 12:11:00 +02:00
jest.config.js chore: format 2023-10-17 00:59:54 +02:00
jest.setup.js chore: format 2023-10-17 00:59:54 +02:00
LICENSE Create LICENSE 2023-05-18 19:46:01 +02:00
lp-items.tsx feat: add basic LP 2023-04-21 17:52:49 +02:00
middleware.ts feat: upgrade to app directory 2023-11-25 23:30:41 +01:00
next-env.d.ts refactor: get rid of turborepo 2023-04-19 20:44:48 +02:00
next.config.mjs feat: add env validation 2023-05-03 19:16:12 +02:00
package.json initial setup, formik, fields, layout 2024-03-03 22:09:33 -05:00
playwright.config.ts chore: setup playwright ui & headless 2023-04-21 11:27:42 +02:00
postcss.config.js refactor: get rid of turborepo 2023-04-19 20:44:48 +02:00
prettier.config.js chore: bump all deps 2023-10-17 00:38:06 +02:00
README.md read me 2024-03-05 19:01:40 -05:00
renovate.json chore: bump all deps 2023-10-17 00:38:06 +02:00
report-bundle-size.js feat: make bundle analysis work with app dir 2023-11-25 23:35:22 +01:00
reset.d.ts refactor: get rid of turborepo 2023-04-19 20:44:48 +02:00
tailwind.config.js chore: setup open telemetry 2023-04-21 12:11:00 +02:00
tsconfig.json feat: upgrade to app directory 2023-11-25 23:30:41 +01:00
yarn.lock initial setup, formik, fields, layout 2024-03-03 22:09:33 -05:00

Document Upload App with Next.js

This project is built on the robust foundation of the Next.js Enterprise Boilerplate by Blazity, tailored for a document upload application. It demonstrates advanced usage of Next.js, Formik for form management, Tailwind CSS for styling, and includes comprehensive testing with Jest and Playwright. This README guides you through the project setup, features, and deployment.

Features

  • Next.js: Leveraging the latest features of Next.js for SSR and static generation.
  • Tailwind CSS: Utilizing Tailwind for rapid and responsive UI development.
  • Formik: Streamlined form handling with validation and custom input components.
  • Playwright: End-to-end testing to ensure reliability and functionality.
  • Radix UI: Utilizing Radix UI for accessible and customizable components.
  • Tailwind Merge: Efficiently managing Tailwind CSS classes.
  • TypeScript: Ensuring type safety and developer productivity.

Getting Started

To run this project locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/vasquezjesus2710/next-enterprise
cd next-enterprise
  1. Install Dependencies
yarn install
  1. Start the development server
yarn dev

Visit http://localhost:3000 to view the application.

Project Structure

  • components/: Reusable UI components, including custom Formik inputs.
  • pages/: Application pages and the API endpoint for form submission.
  • public/: Static assets like images and fonts.
  • styles/: Global styles and Tailwind configuration.
  • tests/: Jest unit tests and Playwright end-to-end tests.
  • utils/: Utility functions and helpers.

Testing

This project includes both unit and integration tests with Jest and end-to-end tests with Playwright:

  • Run unit and integration tests: yarn test

  • Run end-to-end tests:

yarn e2e:headless # For headless testing
yarn e2e:ui # For UI testing

Acknowledgments

Built on the Next.js Enterprise Boilerplate by Blazity.