A modern tech news website built with Next.js, featuring AI-powered translation and summarization capabilities. The platform aggregates tech news from various sources and provides Hebrew translations for international content.
Clone the repository:
git clone https://github.com/yourusername/techweb.git
cd techweb
Install dependencies:
npm install
Create a .env
file with the following variables:
DATABASE_URL="postgresql://user:password@localhost:5432/techweb?schema=public"
OPENAI_API_KEY="your-openai-api-key"
NEWS_API_KEY="your-newsapi-key"
Initialize the database:
npx prisma generate
npx prisma db push
Run the development server:
npm run dev
Open http://localhost:3000 to view the application.
Build the application:
npm run build
Start the production server:
npm start
src/
āāā app/ # Next.js app directory
āāā components/ # React components
āāā lib/ # Utility functions and services
ā āāā api/ # API services
ā āāā db/ # Database utilities
ā āāā ai/ # AI services
āāā types/ # TypeScript type definitions
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.