Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airport hackathon #43

Merged
merged 16 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: '3.8'

server:
backend:
build: ./server
ports:
- "5000:5000"
environment:
- DATABASE_URL=postgresql://postgres:admin@db:5432/plnts
depends_on:
- db

client:
build: ./client
ports:
- "3000:3000"
depends_on:
- backend

db:
image: postgres:13
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=admin
- POSTGRES_DB=dbname

volumes:
postgres_data:
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:14
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
RUN npm run build
CMD ["npm", "start"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
194 changes: 0 additions & 194 deletions client/react/src/forms/update/FertilizePlantsForm.js

This file was deleted.

132 changes: 0 additions & 132 deletions client/react/src/forms/update/RepotPlantsForm.js

This file was deleted.

Loading
Loading