Skip to content

Commit

Permalink
backend workflow updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Amarjha01 committed Aug 31, 2024
1 parent 8e633be commit ad71162
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ jobs:
AWS_REGION: ap-south-1
run: |
eb init -p docker my-backend-app --region $AWS_REGION
eb use my-backend-app-env
eb use my-backend-app-env-1
eb deploy
11 changes: 0 additions & 11 deletions backend/routes/routes.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@

// import express from 'express';

// const router = express.Router(); //ES Module

// import usersignupcontroller from '../controller/usersignup';

// router.post('/signup',router)


// export default router;

import express from 'express';
import usersignupcontroller from '../controller/usersignup.js';
import userSignInController from '../controller/usersignin.js';
Expand Down

0 comments on commit ad71162

Please sign in to comment.