https://github.com/perbu/hapi-todo
https://github.com/perbu/hapi-todo
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/perbu/hapi-todo
- Owner: perbu
- License: mit
- Created: 2022-11-03T13:10:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-07T08:36:29.000Z (over 3 years ago)
- Last Synced: 2025-10-28T09:29:57.795Z (9 months ago)
- Language: TypeScript
- Size: 530 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Hapi-todo
A simple todo app built with Hapi.js and Angular.
WIP
## Motivation
I did this to get an idea of what idiomatic Hapi.js would look like, written in TypeScript.
This isn't meant to be used for anything other than learning.
## Design
### Backend
- There is a repo, which does the SQL stuff. It emulates boolean logic by using 0 and 1 in Sqlite.
- A very simple service layer which basically just relays things to the database.
- Tests all around. The service layer tests mocks the underlying repo.
- Trying to keep the number of anonymous functions to a minimum.
## Dependencies
- TypeScript
- Hapi.js
- Sqlite (the repo)
- Angular
- Jest