π Login Pages:
Email and password are validated on the login page. When the user logs in, they are directed to the product page.
π Product Page:
Our products are listed on the products page and when the product is clicked, the detail page opens. π Like button is used to select/remove favorite products.
π Register pages
βββ components
β βββ Like.tsx
β βββ Navbar.tsx
βββ next.config.js
βββ package-lock.json
βββ package.json
βββ pages
β βββ _app.tsx
β βββ _document.tsx
β βββ api
β β βββ hello.ts
β βββ index.tsx
β βββ login.tsx
β βββ products
β β βββ [id].tsx
β βββ products.tsx
β βββ register.tsx
βββ postcss.config.js
βββ public
β βββ piton.ico
β βββ piton.jpg
βββ store
β βββ product.tsx
β βββ store.tsx
βββ styles
β βββ Home.module.css
β βββ globals.css
βββ tailwind.config.js
βββ tsconfig.json
- Next.js
- TypeScript
- Toastify
- Tailwindcss
- Redux
- Redux Toolkit
- React Hook Form
- React-Phone-Number
- Formik-Yup
To clone and run this application, you'll need Git
# Clone this repository ($ git clone https://github.com/......)
- Run the following command to install the required dependencies of the project
>> npm install [This command downloads all the dependencies in the project's package.json file and creates the necessary files to run the project.]
- Run the following command to compile Typescript files:
>> npm run build [This command compiles all Typescript files in the project and converts them to JavaScript files.]
>> npm run start
>> Open the runserver