Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
itarafath committed Sep 6, 2021
0 parents commit eb4156f
Show file tree
Hide file tree
Showing 36 changed files with 19,236 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NODE_ENV=development
PORT=3000
4 changes: 4 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.vscode
.idea
node_modules
dist
1 change: 1 addition & 0 deletions backend/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
Empty file added backend/.nvmrc
Empty file.
16 changes: 16 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM node:12.18.4-alpine

# Work directory
WORKDIR /usr/src/app

# Copy app source to work directory
COPY ./package*.json ./

# Install app dependencies
RUN npm install

# Copy dir
COPY ./ .

# Build and run the app
CMD npm run dev
1 change: 1 addition & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# pbs_hd_notification
9 changes: 9 additions & 0 deletions backend/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: "3.3"
services:
sydpro_backend:
build: .
restart: always
image: sydpro_backend:latest
container_name: sydpro_backend
ports:
- "3000:3000"
Loading

0 comments on commit eb4156f

Please sign in to comment.