mapnews

所属分类:Docker
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-09-22 11:06:16
上 传 者sh-1993
说明:  基于全栈地图的新闻系统作为新闻消费的替代媒体
(A full-stack map-based news system as an alternative medium for news consumption)

文件列表:
.husky/ (0, 2023-10-24)
.husky/pre-commit (253, 2023-10-24)
.husky/pre-commit.d/ (0, 2023-10-24)
.husky/pre-commit.d/prettier-backend (90, 2023-10-24)
.husky/pre-commit.d/prettier-frontend (92, 2023-10-24)
backend/ (0, 2023-10-24)
backend/.dockerignore (36, 2023-10-24)
backend/Dockerfile (287, 2023-10-24)
backend/jest.config.js (216, 2023-10-24)
backend/package-lock.json (520013, 2023-10-24)
backend/package.json (1978, 2023-10-24)
backend/src/ (0, 2023-10-24)
backend/src/__tests__/ (0, 2023-10-24)
backend/src/__tests__/article.test.ts (4663, 2023-10-24)
backend/src/__tests__/auth.test.ts (2623, 2023-10-24)
backend/src/__tests__/config.test.ts (856, 2023-10-24)
backend/src/__tests__/notification.test.ts (1706, 2023-10-24)
backend/src/application.ts (3350, 2023-10-24)
backend/src/clients/ (0, 2023-10-24)
backend/src/clients/imagekit.client.ts (453, 2023-10-24)
backend/src/clients/redis.client.ts (1410, 2023-10-24)
backend/src/clients/secret_manager.client.ts (1132, 2023-10-24)
backend/src/config/ (0, 2023-10-24)
backend/src/config/mongo-server.errors.json (196, 2023-10-24)
backend/src/controllers/ (0, 2023-10-24)
... ...


MapNews

Mapnews: Navigating Global Stories

Developed with the software and tools listed below.

precommit JavaScript Prettier Redis Nodemon MongoDB TypeScript Docker Express JSON HTML5 CSS3 Jasmine ESLint Markdown

GitHub top language GitHub code size in bytes GitHub commit activity
--- ## Table of Contents - [ Table of Contents](https://github.com/dubstep-warrior/mapnews/blob/master/#-table-of-contents) - [ Overview](https://github.com/dubstep-warrior/mapnews/blob/master/#-overview) - [ Getting Started](https://github.com/dubstep-warrior/mapnews/blob/master/#-getting-started) - [ Contributing](https://github.com/dubstep-warrior/mapnews/blob/master/#-contributing) --- ## Overview Mapnews is a comprehensive and sophisticated map-based news system built using Angular for the frontend and Express for the backend. The system is a docker swarm consisting of the backend, frontend, and notification services. The swarm configuration features horizontal scaling in our backend in order to meet high concurrency requirements for this application, where we implement load balancing between the websocket server replicas. In-depth feature and implementation details are discussed in the README.md of their respective sub-directories --- ## Getting Started ### Prerequisites Before you begin, ensure that you have the following prerequisites installed: > - ` Docker CLI` ### Setup 1. Clone the mapnews repository: ```sh git clone https://github.com/dubstep-warrior/mapnews ``` 2. Change to the project directory: ```sh cd mapnews ``` 3. Initialize a docker swarm ```sh docker swarm init ``` 4. Deploy the docker swarm (Ensure environment variables are replaced with appropiate values) ```sh docker stack deploy --compose-file docker-compose.yml mapnews ``` 5. Access the web application from [localhost:3000](https://github.com/dubstep-warrior/mapnews/blob/master/http://localhost:3000/). --- ## Contributing Contributions are always welcome! Please follow these steps: 1. Fork the project repository. This creates a copy of the project on your account that you can modify without affecting the original project. 2. Clone the forked repository to your local machine using a Git client like Git or GitHub Desktop. 3. Create a new branch with a descriptive name (e.g., `new-feature-branch` or `bugfix-issue-123`). ```sh git checkout -b new-feature-branch ``` 4. Make changes to the project's codebase. 5. Commit your changes to your local branch with a clear commit message that explains the changes you've made. ```sh git commit -m 'Implemented new feature.' ``` 6. Push your changes to your forked repository on GitHub using the following command ```sh git push origin new-feature-branch ``` 7. Create a new pull request to the original project repository. In the pull request, describe the changes you've made and why they're necessary. The project maintainers will review your changes and provide feedback or merge them into the main branch. ---

近期下载者

相关文件


收藏者