https://github.com/michellesanseverino/instalike-back
Backend service for an application called InstaLikes. Here it's used Node.js, MongoDB, Postman, Google Cloud, Google Gemini and others.
https://github.com/michellesanseverino/instalike-back
alura backend google-cloud google-generative-ai imersion javascript mongodb nodejs postman
Last synced: about 1 year ago
JSON representation
Backend service for an application called InstaLikes. Here it's used Node.js, MongoDB, Postman, Google Cloud, Google Gemini and others.
- Host: GitHub
- URL: https://github.com/michellesanseverino/instalike-back
- Owner: michellesanseverino
- Created: 2024-11-18T14:10:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-29T17:30:15.000Z (over 1 year ago)
- Last Synced: 2025-01-30T09:16:30.450Z (about 1 year ago)
- Topics: alura, backend, google-cloud, google-generative-ai, imersion, javascript, mongodb, nodejs, postman
- Language: JavaScript
- Homepage:
- Size: 655 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instalike-Back
## Project Overview
Instalike-Back is a backend service designed to support the Instalike application (project created during the course "Imersão Dev Back-end" provided by Alura in November 2024). **This project provides APIs for photo upload**s. Also, as a experiment, the course explained **how the Google Gemini can be integrated inside back-end**. For the database and deploy, **it uses MongoDB Atlas and Google Cloud**.
For more information, please read below:
## Tools and Technologies Used
- **Node.js**: JavaScript runtime for building the backend.
- **Express.js**: Web framework for Node.js to create APIs.
- **MongoDB**: NoSQL database for storing user data and photos.
- **Multer**: Middleware for handling `multipart/form-data` for photo uploads.
- **dotenv**: Module to load environment variables from a `.env` file.
- **Thunder**: Extension used in VS Code for testing API Endpoints.
- **Postman**: Software used for testing API Endpoints.
## API Endpoints
- **Post Creation**:
- `POST /posts`: Create a post.
- **Photo Uploads**:
- `POST /upload`: Upload a new photo.
- **Return all posts**
- `GET /posts`: Obtain all posts in the database
- **Update an image**
- `PUT /upload/:id`: Updates the image from the ID informed
## Learning points
- During this course, I was able to **practice my knowledge in Javascript and, more specific, in Node.js.**
- For this project, the practice of **integrating routes with database was a special way for me to learn about MongoDB**, one of the most use database services using NoSQL.
- I was able to understand and **practice how an API works and how can I implement with the best practices in my future projects**.
## Contributing
Feel free to submit issues and enhancement requests. Fork the repository and create a pull request to contribute.
## License
This project is licensed under the MIT License.