Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tvrtkom/moodtrackerapi
Express api service for serving mood tracker data
https://github.com/tvrtkom/moodtrackerapi
Last synced: 14 days ago
JSON representation
Express api service for serving mood tracker data
- Host: GitHub
- URL: https://github.com/tvrtkom/moodtrackerapi
- Owner: TvrtkoM
- Created: 2020-03-30T23:46:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T13:09:20.000Z (about 2 years ago)
- Last Synced: 2023-03-11T16:07:46.454Z (almost 2 years ago)
- Language: TypeScript
- Size: 79.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Moodtracker backend
Services for a [client](https://github.com/Tvrtkom/mood-tracker-client)
# Environment
## Set up Postgresql and databae
Install postgresql on your system and create a new database.
Insert database configuration in `.env` according to `.env.example`.# Handling dependecies
Following should be in .npmrc file:
```
//npm.pkg.github.com/:_authToken=[your personal access token for repositories]
@tvrtkom:registry=https://npm.pkg.github.com
```# Installing and running
Run `npm ci && npm run build && npm start`.## Runing in docker
Add GITHUB_AUTH_TOKEN to `.env` file. This is the same auth token from .npmrc file.Run `docker-compose build && docker-compose up`.