Skip to content

Commit

Permalink
Added prettier, allowed for hot-reloading on the backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
elsong86 committed Aug 22, 2024
1 parent d3480ee commit 91bf55a
Show file tree
Hide file tree
Showing 15 changed files with 457 additions and 590 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- ./frontend:/frontend
ports:
- "3000:3000"
command: npm run dev # Ensure this command starts the frontend server
command: npm run dev

backend:
build:
Expand All @@ -19,7 +19,7 @@ services:
- ./backend:/backend
ports:
- "8000:8000"
command: python app/main.py
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
depends_on:
- redis
environment:
Expand Down
5 changes: 5 additions & 0 deletions frontend/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"plugins": ["prettier-plugin-tailwindcss"]
}

Loading

0 comments on commit 91bf55a

Please sign in to comment.