Skip to content

Kiep13/Tabletka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💊 Tabletka

An app to find the availability of pills in different pharmacies

🧩 Apps

In apps folder you can see two main repo applications:

  • api: a Nest.js app for back-end side
  • web: a Next.js app for front-end side

🐋 Docker

docker-compose.yml stored in docker folder. To rollup it, move to this folder and run this:

docker compose --env-file dev.env up -d

After running, pgAdmin is available locally here.

💾 Database

This application uses PostgreSQL for storing data and pgAdmin for monitoring the previous one. It applied with docker containers, which are conduct docker-compose.

For ORM purposes this application uses Prisma

For applying table migrations you should run:

prisma migrate deploy

💭 Elasticsearch

This project uses Elasticsearch to optimize search queries. It aslo possible access to Kibana to view statistics and dev console

In local development Kibana accessible here. Kibana Dev Tools accessible here

🏁 Run dev mode

To run applications in developer mode, run:

yarn dev

Api application uses GraphQL. Its playground is available here.

🏗️ Build

To build all apps and packages, run the following command:

yarn build

📃 Useful commands

You can find other commands connected to used frameworks & libraries here