Skip to content

Commit

Permalink
made some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-abin committed Mar 12, 2024
1 parent 71a1691 commit 8a97950
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
1 change: 0 additions & 1 deletion admin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const start = async () => {
if (!process.env.MONGO_URL_ADMIN) {
throw new Error("MONGO_URL_ADMIN must be defined");
}


// to connect to mongodb
await connectDB();
Expand Down
1 change: 1 addition & 0 deletions auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const start = async () => {
throw new Error("TWILIO_SERVICE_SID must be defined");
}


// to connect to mongodb
await connectDB();

Expand Down
1 change: 0 additions & 1 deletion chat/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const start = async () => {
console.log("after socket instance");

await connectDB();


const userCreatedEvent = new UserCreatedEventConsumer(kafkaClient);
const userUpdatedEvent = new UserUpdatedEventConsumer(kafkaClient);
Expand Down
3 changes: 3 additions & 0 deletions client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ export default function App() {
// requestPermission();
// }, []);


return (
<>
<ToastContainer className="mt-10" />
<Toaster />
<Routes>

<Route
path="/"
element={
Expand All @@ -66,6 +68,7 @@ export default function App() {
<Route path="/candidate/*" element={<CandidateRoutes />} />
<Route path="/recruiter/*" element={<RecruiterRouters />} />
<Route path="*" element={<NotFound url="/" />} />

</Routes>
</>
);
Expand Down
1 change: 1 addition & 0 deletions job/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const start = async () => {
await connectDB();



// it is used to listen to incomming message from kafka topics
const userCreatedEvent = new UserCreatedEventConsumer(kafkaClient);
const userUpdatedEvent = new UserUpdatedEventConsumer(kafkaClient);
Expand Down
4 changes: 2 additions & 2 deletions k8s/ingress/dev/ingress-srv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
tls:
- hosts:
- devhive.dev
secretName: devhive-tls
secretName: devhive-jobportal-tls
rules:
- host: devhive.dev
http:
Expand Down Expand Up @@ -82,7 +82,7 @@ spec:
# tls:
# - hosts:
# - devhive.dev
# secretName: devhive-tls
# secretName: devhive-jobportal-tls
# rules:
# - host: devhive.dev
# http:
Expand Down
10 changes: 5 additions & 5 deletions k8s/ingress/prod/ingress-srv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ kind: Ingress
metadata:
name: ingress-service
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/use-regex: 'true'
nginx.ingress.kubernetes.io/proxy-body-size: '50m' # Set the maximum allowed request body size
nginx.ingress.kubernetes.io/websocket-services: "chat-srv"
spec:
tls:
- hosts:
- abinvarghese.online
secretName: devhive-tls
# tls:
# - hosts:
# - abinvarghese.online
# secretName: devhive-jobportal-tls
rules:
- host: abinvarghese.online
http:
Expand Down
1 change: 1 addition & 0 deletions payment/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const start = async () => {
await connectDB();



app.listen(3000, () => {
console.log("payment Listening on port 3000....");
})
Expand Down
1 change: 1 addition & 0 deletions profile/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const start = async () => {
}



// to connect to mongodb
await connectDB();

Expand Down

0 comments on commit 8a97950

Please sign in to comment.