Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrades #60

Merged
merged 4 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Here we are getting our node as Base image
FROM node:18.12.1
FROM node:20.10.0

# create user in the docker image
USER node
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ The repository [**React.js Isomorphic Web Application Architecture**] has a comp
* Install Docker and Docker Compose. [Find Instructions Here](https://docs.docker.com/install/).
* Execute `docker-compose up -d` in terminal from the repo directory.
* You will be able to access the api from http://localhost:3000
* Run Tests: `docker exec -t app npm test`
* *If having any issue* then make sure 3000 port is not occupied else provide a different port in **.env** file.
* *If having any issue* then make sure 27017 port is not occupied else provide a different port in **.env** file.
* Run The Tests
Expand Down Expand Up @@ -346,7 +347,7 @@ The repository [**React.js Isomorphic Web Application Architecture**] has a comp

### License
```
Copyright (C) 2023 JANISHAR ALI ANWAR
Copyright (C) 2024 JANISHAR ALI ANWAR

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:

mongo:
# To create this service, Compose will pull the mongo
image: mongo:6.0.3
image: mongo:7.0.4
container_name: mongo
restart: unless-stopped
# This tells Compose that we would like to add environment variables
Expand All @@ -50,7 +50,7 @@ services:
- dbdata:/data/db

redis:
image: redis:7.0.5
image: redis:7.2.3
container_name: redis
restart: unless-stopped
env_file: .env
Expand Down
50 changes: 25 additions & 25 deletions keys/private.pem.example
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQB1xgSBjkH149qryURuOy/FLyxoeiRcI1EXZXcCOYt6qUHSh49m
DpqR1bBO2Hfb8h2CE+xrMuffToI+kt6fbnH17Wyj0fii13RyMhdIT+exD2mwrzUJ
Nfhjinwc/KXBHKcsVhsDo6ANaybfJ4WteZ+EXbolZGlGiSqGqgReY1PlHpZZ1K+l
F7SV2rlkzi3Mzm2a1h5SA4jw1kfD8p2C/0+f6zugvYo8H0jVrQOpuXAH2NN0y4gG
HgCdEb0MaY8Eu21Fym7fHETrLb9wg26RNOQ+5CJlyCqAduZLrP7m535lqXrzOPiB
lrqg+Y7GYCuv2JAta3muiS8IC8T5nGLjrbo3AgMBAAECggEAOJV1zsUJXdkmU4i0
jv1yuxsqC9w7IeV57XK7Vd9N6xXs4PhuZgs4Kj7voUIRfCP8F2X5HZvsmXY/z06D
FThcGlsC6kZUXfCEKuV0GDMDzybnkZLsOUur1i9P6CFehcR9cSjBe+MeX7QOjgKQ
EEOx50ecyqBOkCwQuXhv9uVkBl0cYMgFacA4QyzfAic41Q67W+NWQrxvntwUWXVL
sJngi0Vh61DHXD18sDFV/APhFOO9lUSjLN9uUhWgta5QulnqNR6cmYLj6NhByl3x
JRpGmGR3hM9JX9JTw9aCf1C/ogM4ltHLpp09e2ergrjVzE640L83yHZk4vZ7kygi
vJymgQKBgQDVNJhbdi5jxjACjmR6QKvLoZ0G/kkU8VSJcojuzOFbLTuNxr4R/R8g
SduuUL4/Kr02L1912P68Bl92/0WbE2sUpgA5axZ3T9B4zS/PJN5xnwHE9ljeagek
ec9uw1trESt9hIcSa2px9pX7Ub+TkhE6nf89EJif4dh/R0IuqLLmdwKBgQCNabju
ztJnfdu471rbAG1UtLP2tzawn6T4chEwzkituqYCtdpXUWzafUfMk38Sg9ioOxYx
2yWqOMqX2SFlit3JAF8khEeEa3NvHzw2G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dCXejv1NGZVyoIw
bn9/f4etzfG/fPWvAI8jkcWSRkymnSUTLmhtpYuquJiiRE35piY=
-----END RSA PRIVATE KEY-----
14 changes: 7 additions & 7 deletions keys/public.pem.example
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
-----BEGIN PUBLIC KEY-----
MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQB1xgSBjkH149qryURuOy/F
LyxoeiRcI1EXZXcCOYt6qUHSh49mDpqR1bBO2Hfb8h2CE+xrMuffToI+kt6fbnH1
7Wyj0fii13RyMhdIT+exD2mwrzUJNfhjinwc/KXBHKcsVhsDo6ANaybfJ4WteZ+E
XbolZGlGiSqGqgReY1PlHpZZ1K+lF7SV2rlkzi3Mzm2a1h5SA4jw1kfD8p2C/0+f
6zugvYo8H0jVrQOpuXAH2NN0y4gGHgCdEb0MaY8Eu21Fym7fHETrLb9wg26RNOQ+
5CJlyCqAduZLrP7m535lqXrzOPiBlrqg+Y7GYCuv2JAta3muiS8IC8T5nGLjrbo3
AgMBAAE=
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsohZFGYHV3tvJH769v1V
d++TBUuMl/q1zD2oNKOJmdiyXefUwC3o8GryBy8ClYtgFGxrs8OrldJ4q+ctkAE9
oS9FyxLd5NWz2RLmk79DGib2SLESxUt/3SiMWKh0ks9jr8SZzwRopnuJzc/JWsY6
7ac4bLMx39QrfrWWCUArP6rUstMWOYXfl8nh+SPLzmbtbRggKTK/5beJKLLd78lW
ulF5lpB6H4+eHY6/0gTT4J+TSACSL5iA24tGwB/IqeJrUkyo3X7LSSRj6yn1S1lY
7+TW4jjA8+oSjXgjuhpQhd8ha35HNr+triNVfm0aSCQeScga3z88JRI0TYEKE6Vo
RQIDAQAB
-----END PUBLIC KEY-----
Loading