This project is a full-stack web application that mimics some of the basic functionalities of Reddit. It features a modern backend API and responsive frontend interface.
- User authentication system with secure JWT implementation
- Complete post management (create, read, update, delete)
- Community/subreddit creation and moderation
- User profile system
- RESTful API design following best practices
Backend:
- Built with Go using the Gin framework
- MongoDB for data storage
- JWT for authentication
Frontend:
- Angular framework with TypeScript
- Angular Material for UI components
- Responsive design
- Go (version 1.15+)
- Node.js and npm (version 14+)
- MongoDB database
- Configure environment variables for both backend and frontend
- Install required dependencies
- Start both backend server and frontend development server
The application runs with backend serving APIs on port 8080 and frontend running on port 4200.
The application provides RESTful endpoints for:
- User registration
- Login with JWT token generation
- Full CRUD operations for posts
- Pagination and filtering support
- Create and manage communities
- Community-specific post feeds
- Profile management
- Account deletion
- Implemented secure authentication flow
- Designed scalable API architecture
- Created responsive UI components
- Optimized database queries for performance
- Followed REST API best practices
Note: Implementation details and source code structure are intentionally omitted as this is a portfolio showcase.