A modern Next.js application built with TypeScript and Tailwind CSS, designed to provide a robust and scalable web application experience.
-
Modern Tech Stack
- Next.js 14 with App Router
- TypeScript for type safety
- Tailwind CSS for styling
- ESLint for code quality
- PostCSS for CSS processing
-
Developer Experience
- Hot reload
- Type checking
- Code formatting
- Environment variable management
- Component-driven development
- Node.js 18.x or later
- npm or yarn or pnpm or bun
-
Clone the repository:
git clone git@github.com:ExploreLabsxyz/agentscan.git cd agentscan -
Clone the backend repository:
git clone git@github.com:ExploreLabsxyz/agentscan-express.git cd agentscan-express -
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env.local
Then edit
.env.localwith your configuration values.
Start the development server:
npm run devVisit http://localhost:3000 to see your application.
agentscan/
├── src/ # Source files
├── public/ # Static assets
├── components/ # Reusable components
├── .next/ # Next.js build output
├── node_modules/ # Dependencies
├── .env.example # Example environment variables
├── .env.local # Local environment variables
├── .eslintrc.json # ESLint configuration
├── next.config.ts # Next.js configuration
├── tailwind.config.ts # Tailwind CSS configuration
├── tsconfig.json # TypeScript configuration
└── package.json # Project metadata and dependencies
- TypeScript: Configured in
tsconfig.json - Tailwind CSS: Customized in
tailwind.config.ts - ESLint: Rules defined in
.eslintrc.json - Next.js: Settings in
next.config.ts
The application can be deployed using Vercel:
- Push your code to a Git repository
- Import your project to Vercel
- Configure environment variables
- Deploy!
For other deployment options, refer to the Next.js deployment documentation.
- Components: Use PascalCase (e.g.,
UserProfile.tsx) - Directories: Use kebab-case (e.g.,
user-profile/) - Functions: Use camelCase (e.g.,
handleSubmit) - Files: Group by feature/module
- Styling: Use Tailwind CSS classes and custom utilities
This project is licensed under the MIT License - see the LICENSE file for details.