My company website =======
A comprehensive Next.js application for DevOps services where professionals, job seekers, and freelancers can register, login, and access various DevOps solutions.
git clone <repository-url>
cd kloudops-ai
npm install
.env.local
file in the root directory and add the following:
MONGODB_URI=mongodb://localhost:27017/kloudops-ai
NEXTAUTH_SECRET=your-nextauth-secret-key-here
JWT_SECRET=your-jwt-secret-key-here
MONGODB_URI
in your .env.local
filenpm run dev
kloudops-ai/
├── src/
│ ├── app/
│ │ ├── api/auth/ # Authentication API routes
│ │ ├── auth/ # Authentication pages
│ │ ├── dashboard/ # User dashboard
│ │ ├── services/ # Services catalog
│ │ ├── globals.css # Global styles
│ │ ├── layout.tsx # Root layout
│ │ └── page.tsx # Home page
│ ├── lib/
│ │ ├── mongodb.ts # Database connection
│ │ └── utils.ts # Utility functions
│ └── models/
│ └── User.ts # User data model
├── .env.local # Environment variables
├── package.json # Dependencies
└── README.md # Project documentation
npm run dev
- Start development servernpm run build
- Build for productionnpm run start
- Start production servernpm run lint
- Run ESLintThe application uses JWT-based authentication with HTTP-only cookies for security. Users can register with different account types and access role-specific features.
POST /api/auth/register
- User registrationPOST /api/auth/login
- User loginThe application features a modern, responsive design with:
npm run build
This project is licensed under the MIT License - see the LICENSE file for details.
For support, email support@kloudops-ai.com or create an issue in this repository.