Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robbdimitrov/pixelgram
Instagram clone using k8s, node and angular
https://github.com/robbdimitrov/pixelgram
angular docker javascript kubernetes nodejs typescript
Last synced: about 2 months ago
JSON representation
Instagram clone using k8s, node and angular
- Host: GitHub
- URL: https://github.com/robbdimitrov/pixelgram
- Owner: robbdimitrov
- License: mit
- Created: 2017-10-24T10:58:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-18T12:19:14.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T10:27:55.898Z (2 months ago)
- Topics: angular, docker, javascript, kubernetes, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 6.36 MB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pixelgram
**Pixelgram** is an image-sharing application where users can create,
browse and like images.## Architecture
Service | Language | Description
--- | --- | ---
[backend](/src/backend) | JavaScript | Backend of the app, responsible for users, posts and authentication.
[database](/src/database) | SQL | PostgreSQL database with tables, relationships and functions.
[frontend](/src/frontend) | TypeScript | Angular frontend of the app.## Setup
### Clone the repository
Clone the repository to your filesystem
```sh
git clone [email protected]:robbdimitrov/pixelgram.git
cd pixelgram
```### Build the images
Build all the images
```sh
make
```Or build specific images
```sh
make backend
make database
make frontend
```### Create namespace
Create namespace for the k8s resources
```sh
kubectl create namespace pixelgram
```### Create deployments
Create deployments and volumes
```sh
kubectl apply -f ./k8s -n pixelgram
```## Access the frontend
Enable port forwarding
```sh
kubectl port-forward service/frontend 8080 -n pixelgram
```Open the frontend [here](http://localhost:8080/).
## Cleanup
Delete all resources
```sh
kubectl delete -f ./k8s -n pixelgram
```Delete the namespace
```sh
kubectl delete namespace pixelgram
```## API
The API documentation is available [here](/API.md).
## License
Licensed under the [MIT](LICENSE) License.