https://github.com/revazashvili/dictionary
Api for electronic dictionary
https://github.com/revazashvili/dictionary
dictionary-api electronic-dictionary
Last synced: 12 days ago
JSON representation
Api for electronic dictionary
- Host: GitHub
- URL: https://github.com/revazashvili/dictionary
- Owner: Revazashvili
- License: mit
- Created: 2024-03-03T19:49:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T10:49:04.000Z (over 1 year ago)
- Last Synced: 2025-06-11T06:06:38.899Z (about 1 year ago)
- Topics: dictionary-api, electronic-dictionary
- Language: C#
- Homepage:
- Size: 213 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dictionary
Api for electronic dictionary containing api for adding topics, sub topics and words.
identity api for login and adding and editing users for admins.
# Use
use [docker compose](docker-compose.yml) file to start postgres database and api:
```
version: '3.5'
services:
dictionary-db:
container_name: dictionary-db
image: postgres
restart: always
ports:
- "5432:5432"
volumes:
- ~/temp/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=mysecretpassword
- POSTGRES_USER=postgres
networks:
- dictionary
dictionary-api:
container_name: dictionary-api
image: revazashvili/dictionary-api:latest
restart: always
depends_on: [dictionary-db]
ports:
- "80:80"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ConnectionStrings:DictionaryDb=Host=dictionary-db;Port=5432;Database=Dictionary;User Id=postgres;Password=mysecretpassword;
networks:
- dictionary
networks:
dictionary:
name: dictionary_custom
```