diff --git a/README.md b/README.md index 58a65ae..ed85531 100644 --- a/README.md +++ b/README.md @@ -62,11 +62,14 @@ To get a local copy up and running follow these simple example steps. ### Prerequisites -Personally, I use npm as a package manager -* npm +* Personally, I use npm as a package manager ```sh npm install npm@latest -g ``` +* Run mongodb via docker container + ```sh + docker run --name mongodb -p 27017:27017 -d mongodb/mongodb-community-server:latest + ``` ### Installation diff --git a/server/.env b/server/.env index 85c0dc1..890e6c7 100644 --- a/server/.env +++ b/server/.env @@ -2,5 +2,5 @@ ENVIRONMENT_INFO="Current environment is - set your environment" NODE_ENV="local" PORT="3000" API_URL="https://www.benzinpreis-aktuell.de/api.v2.php" -MONGODB_URL = "" -DB_NAME = "" \ No newline at end of file +MONGODB_URL = "mongodb://localhost:27017" +DB_NAME = "fueldb" \ No newline at end of file