https://github.com/faizan711/profile.fyi-test
https://github.com/faizan711/profile.fyi-test
approuter json next-auth nextapi nextjs14 redux-toolkit tailwindcss typescript
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/faizan711/profile.fyi-test
- Owner: Faizan711
- Created: 2024-08-13T12:43:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-15T14:59:49.000Z (almost 2 years ago)
- Last Synced: 2025-01-06T03:42:40.179Z (over 1 year ago)
- Topics: approuter, json, next-auth, nextapi, nextjs14, redux-toolkit, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://profile-fyi-test.vercel.app
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E-commerce Test App
This is a Next.js project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Features
- **TypeScript**: For type safety and improved development experience.
- **NextAuth**: Integrated for user authentication.
- **Redux Toolkit**: For managing global state, including cart functionality.
- **Tailwind CSS**: For utility-first CSS styling.
## Checkout the App
The application is deployed on Vercel and can be accessed via the following link:
https://profile-fyi-test.vercel.app/
### Credentials
Email: admin@gmail.com
Password: admin@123
## Setting up locally
### 1. Install the Dependencies
First, ensure you have Node.js installed on your machine. Then, install the required dependencies:
```bash
npm install
# or
yarn install
# or
pnpm install
```
### 2. Environment Variables:
To set up authentication with NextAuth, you'll need to configure environment variables in a .env.local file at the root of the project.
```bash
NEXTAUTH_SECRET=your_secret
NEXTAUTH_URL=http://localhost:3000
```
### 3. Run Development Server
To set up authentication with NextAuth, you'll need to configure environment variables in a .env.local file at the root of the project.
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
### 4. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
### 5. Login with Below Credentials
Email: admin@gmail.com
Password: admin@123