Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danrnascimento/gatinho-sender
studying working on
https://github.com/danrnascimento/gatinho-sender
Last synced: 25 days ago
JSON representation
studying working on
- Host: GitHub
- URL: https://github.com/danrnascimento/gatinho-sender
- Owner: danrnascimento
- Created: 2021-07-21T04:10:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-08T03:00:34.000Z (almost 3 years ago)
- Last Synced: 2024-11-07T07:34:39.393Z (3 months ago)
- Language: TypeScript
- Size: 1.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GatinhoSender
## Project to study clean architecture (-ish)
### Goal
Create a simple app to upload images and Should be able to have multiples styles and different implementations
but the presentation layer (react, styled components, etc) shouldn't know anything about the API communication, etc.I need to create three different options to implement the upload API.
- Local Storage;
- Graphql;
- Rest APII need to create three different options to upload the image or save the image link.
- A form with an upload button and a button to show the input to add the image URL.
- A form with an upload button and always shows the URL input.
- A form with an upload button only.### Diagram
![diagram](./docs/diagram.jpg)
### To run the app
- start the api
- Rest: `yarn start:rest`
- Graphql: `yarn start:gql`
- Start the app
- Access `/` to use the Form one.
- Access `/two` to use the Form two.
- Access `/three` to use the Form three.