Skip to content
Draft
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
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

java adoptopenjdk-17.0.15+6
nodejs 20.19.1
# Todo: This is the first version that supports macOS + arm. Aside from it obviously being a bit behind the times, we should update the pipelines to match.
terraform 1.1.0
29 changes: 22 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,45 @@
#
###

# Run jobs in parallel so we can see log output
MAKEFLAGS += -j

.PHONY: setup
setup: setup-root setup-backoffice setup-webapp
brew install asdf
asdf plugin add nodejs

.PHONY: setup-root
setup-root:
@echo "⏭ Installing root level dependencies and commit hooks..."
@cd ./ && npm install
@echo "\n==================================================="
@echo "Installing root level dependencies and commit hooks\n"
cd . && \
asdf install && \
node --version && \
npm install

.PHONY: setup-backoffice
setup-backoffice:
@echo "⏭ Installing backoffice dependencies..."
@cd ./backoffice && npm install
@echo "\n=================================="
@echo "Installing backoffice dependencies\n"
cd ./backoffice && \
asdf install && \
node --version && \
npm install

.PHONY: setup-webapp
setup-webapp:
@echo "⏭ Installing webapp dependencies..."
@cd ./webapp && npm install
@echo "\n=============================="
@echo "Installing webapp dependencies\n"
cd ./webapp && \
asdf install && \
node --version && \
npm install

##
# Applications
##

# Parralel docker-compose
.PHONY: serve
serve: serve-backing-services serve-webapp serve-backoffice serve-backoffice-stubs

Expand Down
1 change: 1 addition & 0 deletions backoffice/.tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 24.11.1
31 changes: 28 additions & 3 deletions backoffice/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions backoffice/src/gateways/notes/INotesGateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ import { INote } from "../../entities/INote";
export interface INotesGateway {
getNotes: (beaconId: string) => Promise<INote[]>;
createNote: (note: Partial<INote>) => Promise<INote>;
updateNote(noteId: string, note: Partial<INote>): Promise<INote>;
deleteNote(noteId: string): Promise<void>;
}
Loading
Loading