https://github.com/codecaiine/udacity-cloud-dev-project-2
Udagram is a microservice that allows users to register and log into a web client, post photos to the feed, and process photos using an image filtering.
https://github.com/codecaiine/udacity-cloud-dev-project-2
aws microservice postgresql
Last synced: 2 months ago
JSON representation
Udagram is a microservice that allows users to register and log into a web client, post photos to the feed, and process photos using an image filtering.
- Host: GitHub
- URL: https://github.com/codecaiine/udacity-cloud-dev-project-2
- Owner: codecaiine
- Created: 2022-09-11T17:40:22.000Z (almost 4 years ago)
- Default Branch: dev
- Last Pushed: 2022-09-19T21:47:09.000Z (almost 4 years ago)
- Last Synced: 2025-06-14T04:40:03.132Z (about 1 year ago)
- Topics: aws, microservice, postgresql
- Language: TypeScript
- Homepage:
- Size: 729 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Udagram Image Filtering Microservice
Udagram is a simple cloud application developed alongside the Udacity Cloud Engineering Nanodegree. It allows users to register and log into a web client, post photos to the feed, and process photos using an image filtering microservice.
The project is split into three parts:
1. [The Simple Frontend](https://github.com/udacity/cloud-developer/tree/master/course-02/exercises/udacity-c2-frontend)
A basic Ionic client web application which consumes the RestAPI Backend. [Covered in the course]
2. [The RestAPI Backend](https://github.com/udacity/cloud-developer/tree/master/course-02/exercises/udacity-c2-restapi), a Node-Express server which can be deployed to a cloud service. [Covered in the course]
3. [The Image Filtering Microservice](https://github.com/udacity/cloud-developer/tree/master/course-02/project/image-filter-starter-code), the final project for the course. It is a Node-Express application which runs a simple script to process images. [Your assignment]
### Setup Node Environment
You'll need to create a new node server. Open a new terminal within the project directory and run:
1. Initialize a new project: `npm i`
2. run the development server with `npm run dev`
### Create a new endpoint in the server.ts file
The starter code has a task for you to complete an endpoint in `./src/server.ts` which uses query parameter to download an image from a public URL, filter the image, and return the result.
We've included a few helper functions to handle some of these concepts and we're importing it for you at the top of the `./src/server.ts` file.
```typescript
import {filterImageFromURL, deleteLocalFiles} from './util/util';
```
### Deploying your system
Follow the process described in the course to `eb init` a new application and `eb create` a new environment to deploy your image-filter service! Don't forget you can use `eb deploy` to push changes.
### My Elastic Beanstalk Endpoint
http://image-filter-starter-code-dev2222222222222222222222222222222222.us-east-1.elasticbeanstalk.com/filteredimage?image_url=https://cdn.pixabay.com/photo/2014/02/27/16/10/flowers-276014_960_720.jpg
👤 **Yannick-Noel AKA**
- Location: Côte d'Ivoire
- GitHub: [@codecaiine](https://github.com/codecaiine)
- Twitter: [@yannicknaka](https://twitter.com/yannicknaka)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/yannick-no%C3%ABl-aka/)
## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/codecaiine/udacity-cloud/issues).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- Thanks to Udacity & Alx
- [@ugogineering](https://github.com/ugogineering)