Coder News is a social web app that enables users to share and discover learning resources in a Hacker News-style experience. It provides a platform where developers, programmers, and learners can share valuable articles, tutorials, videos, and other educational content related to coding, technology, and software development.
- User Authentication: Allow users to sign up, log in, and manage their profiles.
- Resource Submission: Users can submit learning resources, providing titles, descriptions, and relevant tags.
- Voting System: Enable users to upvote/downvote resources based on their quality and usefulness.
- Comments and Discussions: Allow users to comment on resources and engage in discussions.
- Tagging and Categorization: Implement a tagging system to categorize resources and make them easily discoverable.
- Search and Filters: Provide a search functionality and filters to help users find specific resources.
- User Activity Feeds: Display user activity feeds to showcase recent submissions, comments, and upvotes.
- Responsive Design: Ensure the web app is mobile-friendly and works well on various devices.
Follow these steps to set up the Coder News web app locally on your machine:
-
Clone the repository:
git clone https://github.com/abdallahAskar1/coder-news.git cd coder-news/server
-
Install dependencies:
npm install
-
Configure environment variables:
Create a.env
file in the root directory and provide the necessary environment variables. -
Database setup:
sqlite database
-
Run the application:
- using tsc 1. npm run compile 2. npm start - using ts-node npm run start2
The application should now be accessible at
http://localhost:3000
.