-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from lwestfall/dev
Many changes
- Loading branch information
Showing
102 changed files
with
1,734 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Angular CI | ||
|
||
on: | ||
pull_request: | ||
branches: ["*"] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "*" | ||
|
||
- name: Install dependencies | ||
run: | | ||
cd src/Client | ||
npm install | ||
- name: Build | ||
run: | | ||
cd src/Client | ||
npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: ASP.NET Core CI | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: "8.0.x" # specify your .NET Core version here | ||
|
||
- name: Restore dependencies | ||
run: | | ||
cd src/Server | ||
dotnet restore | ||
- name: Build | ||
run: | | ||
cd src/Server | ||
dotnet build --no-restore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Build and Push Docker Images | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- name: Server | ||
path: src/Server | ||
image: cbc-api | ||
build_args: "" | ||
# - name: Client - Production | ||
# path: src/Client | ||
# image: cbc-app-prod | ||
# build_args: "--build-arg PROFILE=prod" | ||
- name: Client - Test | ||
path: src/Client | ||
image: cbc-app-test | ||
build_args: "--build-arg PROFILE=staging" | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and Push Docker Image | ||
if: contains(github.event.head_commit.modified, matrix.path) | ||
run: | | ||
cd ${{ matrix.path }} | ||
docker build ${{ matrix.build_args }} -t ${{ secrets.DOCKER_USERNAME }}/${{ matrix.image }} . | ||
docker push ${{ secrets.DOCKER_USERNAME }}/${{ matrix.image }}:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": ".." | ||
}, | ||
{ | ||
"path": "../src/Client" | ||
}, | ||
{ | ||
"path": "../src/Server" | ||
} | ||
], | ||
"settings": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Citrus Book Collective | ||
|
||
We are a group of people who like to read and talk about books. We meet sometimes to discuss books we've read and to vote on which book we will read next. This application is designed to help us organize our meetings and book votes. | ||
|
||
This repository constains the source for the website. The application is still in active development and not yet in production, however the test site is currently hosted at [cbc-test.ljdub.com](https://cbc-test.ljdub.com). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
server { | ||
listen 80; | ||
sendfile on; | ||
default_type application/octet-stream; | ||
|
||
gzip on; | ||
gzip_http_version 1.1; | ||
gzip_disable "MSIE [1-6]\."; | ||
gzip_min_length 256; | ||
gzip_vary on; | ||
gzip_proxied expired no-cache no-store private auth; | ||
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript; | ||
gzip_comp_level 9; | ||
|
||
root /usr/share/nginx/html; | ||
|
||
location / { | ||
try_files $uri $uri/ /index.html =404; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import { | ||
animate, | ||
animateChild, | ||
group, | ||
query, | ||
style, | ||
transition, | ||
trigger, | ||
} from '@angular/animations'; | ||
|
||
export const slideInAnimation = trigger('routeAnimations', [ | ||
transition('HomePage <=> BooksPage', [ | ||
style({ position: 'relative' }), | ||
query(':enter, :leave', [ | ||
style({ | ||
position: 'absolute', | ||
left: 0, | ||
width: '100%', | ||
}), | ||
]), | ||
query(':enter', [style({ left: '-100%' })], { optional: true }), | ||
query(':leave', animateChild(), { optional: true }), | ||
group([ | ||
query(':leave', [animate('300ms ease-out', style({ left: '100%' }))], { | ||
optional: true, | ||
}), | ||
query(':enter', [animate('300ms ease-out', style({ left: '0%' }))], { | ||
optional: true, | ||
}), | ||
]), | ||
]), | ||
transition('* <=> *', [ | ||
style({ position: 'relative' }), | ||
query( | ||
':enter, :leave', | ||
[ | ||
style({ | ||
position: 'absolute', | ||
left: 0, | ||
width: '100%', | ||
}), | ||
], | ||
{ optional: true } | ||
), | ||
query(':enter', [style({ left: '-100%' })], { optional: true }), | ||
query(':leave', animateChild(), { optional: true }), | ||
group([ | ||
query( | ||
':leave', | ||
[animate('200ms ease-out', style({ left: '100%', opacity: 0 }))], | ||
{ optional: true } | ||
), | ||
query(':enter', [animate('300ms ease-out', style({ left: '0%' }))], { | ||
optional: true, | ||
}), | ||
query('@*', animateChild(), { optional: true }), | ||
]), | ||
]), | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.