Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abogoyavlensky/medbook
Medical records about patients
https://github.com/abogoyavlensky/medbook
Last synced: 5 days ago
JSON representation
Medical records about patients
- Host: GitHub
- URL: https://github.com/abogoyavlensky/medbook
- Owner: abogoyavlensky
- License: mit
- Created: 2022-01-25T20:09:12.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-17T19:10:06.000Z (almost 3 years ago)
- Last Synced: 2024-11-09T16:06:30.537Z (2 months ago)
- Language: Clojure
- Homepage: https://medbook.bogoyavlensky.com/
- Size: 86.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# medbook
[![CI](https://github.com/abogoyavlensky/medbook/actions/workflows/deploy.yaml/badge.svg?branch=master)](https://github.com/abogoyavlensky/medbook/actions/workflows/deploy.yaml)
Medical records for patients.
## Production
Project is live at [https://medbook.bogoyavlensky.com/](https://medbook.bogoyavlensky.com/).
*The app does not have an authorization for demonstration purposes.*
## Development
### Prerequisites
Following tools should be installed for convenient local development:
- [docker](https://www.docker.com/) & [docker-compose](https://docs.docker.com/compose/install/) (latest)
- [Java 11](https://adoptopenjdk.net/)
- [clojure.tools.deps](https://github.com/clojure/tools.deps.alpha) (>= 1.10.3.1040)
- [chromedriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) (>= 98.0.4758.80)Optional tools in case you would like to run linting and formatting locally without docker on a git-hook:
- [lefthook](https://github.com/evilmartians/lefthook) (latest)
- [clj-kondo](https://github.com/clj-kondo/clj-kondo) (>= 2021.12.19)
- [cljstyle](https://github.com/greglook/cljstyle) (>= 0.15.0)### Manage project
First you need to run external dependencies:
```shell
make up
```Now you can run the project inside repl:
```bash
make repl(reset) # run and reset the system;
(stop) # stop the system;
(cljs-repl) # run cljs repl
:quit # quit from cljs repl
(run-all-tests) # run all test
```Also, there are some useful make commands:
```bash
make test # run tests for api and integration tests ui locally
make lint # lint project files
make fmt # format project files
make check-deps # check outdated deps
make clean # clean all temp files
make migrations # run migrations commands
```Full list of make commands you could get by executing:
```shell
make help
```## TODO
- [ ] Pagination.
- [ ] Test cljs with [re-frame-test](https://github.com/day8/re-frame-test).
- [ ] Share api routes between backend and frontend using cljc-file.
- [ ] Validation form field on client side.
- [ ] Tailwind CSS.
- [ ] Form library for re-frame.
- [ ] Collect logs and metrics.
- [ ] Serve static using CDN.## License
Copyright © 2021 Andrey Bogoyavlensky
Distributed under the MIT License.