Skip to content

Commit

Permalink
add: postgres from neon
Browse files Browse the repository at this point in the history
  • Loading branch information
mizanmahi committed Oct 7, 2024
1 parent 2623794 commit b936e2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ NODE_ENV="development"
PORT=5000

# DATABASE_URL="postgresql://postgres:123456@localhost:5432/mydb?blogdb=public"
# DATABASE_URL=postgresql://postgres:nextblogrds@db-nextblog.c72qycyeiylo.ap-southeast-1.rds.amazonaws.com:5432/nextblog -> aws rds
DATABASE_URL="your database url"


Expand Down
5 changes: 5 additions & 0 deletions src/app/middlewares/globalErrorHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ const globalErrorHandler = (
};

export default globalErrorHandler;





0 comments on commit b936e2c

Please sign in to comment.