chore: initialize repository infrastructure
- Initialize Git repository with main branch - Create .gitignore for web application (Node.js) - Setup docs/ directory for project documentation - Add README.md with project overview and setup instructions - Add CONTRIBUTING.md with contribution guidelines - Add LICENSE with MIT license text - Configure pre-push hooks for code quality checks BREAKING CHANGE: Repository structure established for team collaboration
This commit is contained in:
commit
0967f702d4
5 files changed
+446
No files matched your search
@@ -0,0 +1,115 @@
|
||||
# newzy
|
||||
|
||||
A news web application for discovering and sharing stories from around the world.
|
||||
|
||||
## Overview
|
||||
|
||||
newzy is a modern, responsive news platform that delivers curated content across multiple categories including technology, sports, entertainment, business, and more. Built with performance and user experience in mind.
|
||||
|
||||
## Features
|
||||
|
||||
- 📰 Curated news articles from trusted sources
|
||||
- 🚀 Fast loading times and optimized performance
|
||||
- 📱 Mobile-first responsive design
|
||||
- 🔍 Powerful search functionality
|
||||
- 📝 Customizable categories and filters
|
||||
- 🔔 Newsletter subscription
|
||||
- 🌐 Multi-language support (coming soon)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before you begin, ensure you have the following installed:
|
||||
|
||||
- [Node.js](https://nodejs.org/) (v18 or higher)
|
||||
- [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/) package manager
|
||||
- A code editor (VS Code, Sublime Text, etc.)
|
||||
|
||||
## Installation
|
||||
|
||||
1. Clone the repository:
|
||||
```bash
|
||||
git clone https://github.com/daniel/newzy.git
|
||||
cd newzy
|
||||
```
|
||||
|
||||
2. Install dependencies:
|
||||
```bash
|
||||
npm install
|
||||
# or
|
||||
yarn install
|
||||
```
|
||||
|
||||
3. Create a `.env` file in the root directory with your environment variables:
|
||||
```bash
|
||||
cp .env.example .env
|
||||
# Edit .env with your configuration
|
||||
```
|
||||
|
||||
4. Start the development server:
|
||||
```bash
|
||||
npm run dev
|
||||
# or
|
||||
yarn dev
|
||||
```
|
||||
|
||||
5. Open your browser and navigate to `http://localhost:3000`
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
project-root/
|
||||
├── src/ # Source code
|
||||
│ ├── components/ # Reusable UI components
|
||||
│ ├── pages/ # Route-specific components
|
||||
│ ├── services/ # API and external service integrations
|
||||
│ └── utils/ # Helper functions and utilities
|
||||
├── public/ # Static assets
|
||||
├── docs/ # Project documentation
|
||||
├── tests/ # Test files
|
||||
├── .gitignore # Git ignore rules
|
||||
├── LICENSE # MIT License
|
||||
├── README.md # This file
|
||||
└── CONTRIBUTING.md # Contribution guidelines
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
### Building for Production
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
# or
|
||||
yarn build
|
||||
```
|
||||
|
||||
### Running Tests
|
||||
|
||||
```bash
|
||||
npm test
|
||||
# or
|
||||
yarn test
|
||||
```
|
||||
|
||||
### Linting
|
||||
|
||||
```bash
|
||||
npm run lint
|
||||
# or
|
||||
yarn lint
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
||||
|
||||
## Contributing
|
||||
|
||||
See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed contribution guidelines.
|
||||
|
||||
## Support
|
||||
|
||||
For issues and feature requests, please open a GitHub issue. For urgent matters, contact the project maintainer directly.
|
||||
|
||||
---
|
||||
|
||||
Made with ❤️ by the newzy team
|
||||
Reference in new issue
Block a user