Skip to content

dubstep-warrior/mapnews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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


📍 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:
git clone https://github.com/dubstep-warrior/mapnews
  1. Change to the project directory:
cd mapnews
  1. Initialize a docker swarm
docker swarm init
  1. Deploy the docker swarm (Ensure environment variables are replaced with appropiate values)
docker stack deploy --compose-file docker-compose.yml mapnews
  1. Access the web application from 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).
git checkout -b new-feature-branch
  1. Make changes to the project's codebase.
  2. Commit your changes to your local branch with a clear commit message that explains the changes you've made.
git commit -m 'Implemented new feature.'
  1. Push your changes to your forked repository on GitHub using the following command
git push origin new-feature-branch
  1. 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.

About

A full-stack map-based news system as an alternative medium for news consumption

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published