Skip to content

Commit 63b4184

Browse files
committed
feature(notify-new-request): new travel requests
- The push notification - The email notification - Create a notifications table - Install dependencies socket.io and auto-bind - Prepare the server - Set-up the project - Display New travel Requests - Add Notifications - Send Push and Email Notifications [Finishes: #167730641]
1 parent a64e64c commit 63b4184

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/routes/index.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import auth from './authRoutes';
22
import travel from './travelRoute';
33
import comment from './commentRoutes';
4+
import notify from './notifyRoutes';
45

56

67
export default (prefix, app) => {
7-
app.use(prefix, auth);
8-
app.use(prefix, travel);
9-
app.use(prefix, comment);
8+
app.use(prefix, auth);
9+
app.use(prefix, travel);
10+
app.use(prefix, comment);
11+
app.use(prefix, notify);
1012
};

0 commit comments

Comments
 (0)