Skip to content

Commit

Permalink
Change
Browse files Browse the repository at this point in the history
  • Loading branch information
asmit27rai committed Jun 8, 2024
1 parent 2934fdf commit abb6dcd
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 178 deletions.
53 changes: 0 additions & 53 deletions backend/src/controllers/authControllers.ts

This file was deleted.

5 changes: 1 addition & 4 deletions backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import express, { json } from 'express';
import { connect } from 'mongoose';
import cors from 'cors';
import { config } from 'dotenv';
import userRoutes from './routes/userRoutes';

config();

Expand All @@ -21,8 +20,6 @@ app.get('/', (req, res) => {
res.send('Hello from the backend!');
});

app.use('/api/v1/auth', userRoutes);

app.listen(port, () => {
console.log(`Server running on port ${port}`);
});
});
42 changes: 0 additions & 42 deletions backend/src/middlewares/authMiddlewares.ts

This file was deleted.

70 changes: 0 additions & 70 deletions backend/src/models/userModels.ts

This file was deleted.

9 changes: 0 additions & 9 deletions backend/src/routes/userRoutes.js

This file was deleted.

0 comments on commit abb6dcd

Please sign in to comment.