Your platform for anonymous tips on criminals, missing persons and the latest police reports in Germany. This project utilizes scraping technology to scrape the latest missing and wanted persons from german police websites. Tech stack: Node.js, Next.js, MongoDB & Docker.
- Node.js (version 12 or higher)
- Docker
- MongoDB Database
- Clone the repo
git clone https://github.com/0xBitBuster/polizei-zeitung.git
- Enter your API Keys and Server Configuration in
docker-compose.dev.yaml
(development),docker-compose.yaml
(production) andnext.config.js
To start the server in development mode, run:
docker-compose -f docker-compose.dev.yaml up --build
To run the server in production mode, run:
docker-compose up --build
-
In development, the server runs on following ports:
3000
(frontend) and4000
(backend) -
In production, the server runs on following ports:
80
(http),81
(nginx proxy manager),443
(https) -
In production, after you started the server, you need to configure the nginx proxy whilst redirect all frontend ("/") traffic to
http(s)://frontend:3000
and all backend ("/api/*") traffic tohttp(s)://backend:4000
.
Default Nginx Proxy Manager credentials are "admin@example.com" (Email) and "changeme" (Password) Default Admin Website is located at "/admin" and the default password is "changeme"