Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,58 +208,6 @@ The application uses JWT-based authentication with the following features:
- Protected routes for authenticated users
- Session management with HTTP-only cookies

## 🎯 Key Features Explained

### Question Search
- Search by keywords in title and content
- Filter by tags using `[tag]` syntax
- Combine multiple search criteria
- Real-time search results

### Voting System
- Users can upvote/downvote answers
- Vote tracking prevents duplicate votes
- Vote counts displayed in real-time

### Comment System
- Add comments to answers
- Threaded comment display
- User attribution and timestamps

### Tag Management
- Automatic tag creation
- Tag validation and suggestion
- Question count per tag

## 🚀 Deployment

### Production Build
```bash
# Build client for production
cd client
npm run build

# The build files will be in client/build/
```

### Environment Variables
Set the following environment variables for production:
- `NODE_ENV=production`
- `MONGODB_URI=<production-mongodb-uri>`
- `JWT_SECRET=<secure-random-string>`
- `CLIENT_URL=<production-client-url>`



## 📝 Code Style

- TypeScript for type safety
- ESLint for code linting
- Prettier for code formatting
- Jest for testing
- Comprehensive JSDoc comments





Expand Down