Skip to content

robbdimitrov/pixelgram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixelgram

Pixelgram is an image-sharing application where users can create, browse and like images.

Architecture

Service Language Description
backend JavaScript Backend of the app, responsible for users, posts and authentication.
database SQL PostgreSQL database with tables, relationships and functions.
frontend TypeScript Angular frontend of the app.

Setup

Clone the repository

Clone the repository to your filesystem

git clone git@github.com:robbdimitrov/pixelgram.git
cd pixelgram

Build the images

Build all the images

make

Or build specific images

make backend
make database
make frontend

Create namespace

Create namespace for the k8s resources

kubectl create namespace pixelgram

Create deployments

Create deployments and volumes

kubectl apply -f ./k8s -n pixelgram

Access the frontend

Enable port forwarding

kubectl port-forward service/frontend 8080 -n pixelgram

Open the frontend here.

Cleanup

Delete all resources

kubectl delete -f ./k8s -n pixelgram

Delete the namespace

kubectl delete namespace pixelgram

API

The API documentation is available here.

License

Licensed under the MIT License.