Skip to content

Commit

Permalink
Merge pull request #43 from mseng10/airport_hackathon
Browse files Browse the repository at this point in the history
ENH: Airport Hackathon
  • Loading branch information
mseng10 authored Aug 5, 2024
2 parents 0682b5a + cde206c commit 854f6c1
Show file tree
Hide file tree
Showing 60 changed files with 950 additions and 707 deletions.
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

0 comments on commit 854f6c1

Please sign in to comment.