An open API service indexing awesome lists of open source software.

https://github.com/vagnernerves/dailydiet-ignitern

Developed the Daily Diet project where you can register meals by entering the date and time, and indicating whether they are part of the diet or not. The system then calculates the percentage of adherence to the diet. Within the system, you can edit meals, delete them, and view statistics.
https://github.com/vagnernerves/dailydiet-ignitern

asyncstorage date-fns expo phosphor-react-native react-native react-native-modal-datetime-picker react-native-svg react-native-svg-transformer react-native-uuid react-navigation styled-components typescript

Last synced: 2 months ago
JSON representation

Developed the Daily Diet project where you can register meals by entering the date and time, and indicating whether they are part of the diet or not. The system then calculates the percentage of adherence to the diet. Within the system, you can edit meals, delete them, and view statistics.

Awesome Lists containing this project

README

          


Project Title Logo

Daily Diet

Developed the Daily Diet project where you can register meals by entering the date and time, and indicating whether they are part of the diet or not. The system then calculates the percentage of adherence to the diet. Within the system, you can edit meals, delete them, and view statistics.

## 🧭 Table of contents

- [🧭 Table of contents](#-table-of-contents)
- [πŸŽ₯ Implementation Video](#-implementation-video)
- [🎨 Layout](#-layout)
- [πŸ‘ Learning and more Implementations](#-learning-and-more-implementations)
- [πŸ’‘ Technologies Used](#-technologies-used)
- [πŸ“‚ Folder Structure](#-folder-structure)
- [πŸš€ Running the Project](#-running-the-project)
- [Mobile](#mobile)
- [🌎 License](#-license)
- [βœ’ Author](#-author)

## πŸŽ₯ Implementation Video

https://github.com/VagnerNerves/dailydiet-ignitern/assets/40831841/0cd7d004-7b02-4881-8376-8f6090344328

## 🎨 Layout

Layout developed by [Millena KupsinskΓΌ Martins](https://www.linkedin.com/in/millenakmartins/)

[![Layout in Figma](https://github.com/VagnerNerves/default-readme/blob/main/assets/layout-in-figma.svg)]()

## πŸ‘ Learning and more Implementations

- Implemented the React Native Modal Datetime Picker in creating a new meal to select the date and time.
- Implemented saving the meal by generating a UUID and storing it in local storage.
- Formatted the dates and times using the date-fns library.

## πŸ’‘ Technologies Used

- [x] [React Native](https://reactnative.dev/) `version: "0.71.8"`
- [x] [Expo](https://docs.expo.dev/)
- [x] [TypeScript](https://www.typescriptlang.org/)
- [x] [Styled Components](https://styled-components.com/)
- [x] [React Navigation](https://reactnavigation.org/)
- [x] [React Native SVG](https://docs.expo.dev/versions/latest/sdk/svg/)
- [x] [React Native SVG Transformer](https://github.com/kristerkari/react-native-svg-transformer)
- [x] [React Native UUID](https://www.npmjs.com/package/react-native-uuid)
- [x] [React Native Modal Datetime Picker](https://www.npmjs.com/package/react-native-modal-datetime-picker)
- [x] [AsyncStorage](https://docs.expo.dev/versions/latest/sdk/async-storage/?utm_source=google&utm_medium=cpc&utm_content=performancemax&gclid=Cj0KCQjw1rqkBhCTARIsAAHz7K0imelUE87auOwuX_aXtzeClGuYLQLmSl-_Ef9qD1BqtetaKo40OYEaAlZWEALw_wcB)
- [x] [date-fns](https://date-fns.org/)
- [x] [Phosphor Icons](https://github.com/duongdev/phosphor-react-native)

## πŸ“‚ Folder Structure

```plainText
app
.
β”œβ”€β”€ assets # Images for expo
β”œβ”€β”€ src # Source files
β”‚ β”œβ”€β”€ @types # Contains all global definitions of types and interfaces
β”‚ β”œβ”€β”€ assets # Contains Js bundles assets. e.g: icons, splash, images etc...
β”‚ β”œβ”€β”€ components # Contains all global react components
β”‚ β”œβ”€β”€ routes # Contains application routes
β”‚ β”œβ”€β”€ screens # Contains application screens
β”‚ β”œβ”€β”€ storage # Contains saving data in locations.
β”‚ β”œβ”€β”€ theme # Contains the theme of the application
.
.
β”œβ”€β”€ App # Bundle entry
.
.
└── README.md
```

## πŸš€ Running the Project

### Mobile

Clone the project

```bash
git clone https://github.com/VagnerNerves/dailydiet-ignitern.git
```

Enter the project directory

```bash
cd dailydiet-ignitern
```

Install with dependencies

```bash
npm install
```

Start the server

```bash
npx run start
```

## 🌎 License

This project is under the MIT license. See the [LICENSE](https://github.com/VagnerNerves/dailydiet-ignitern/blob/main/LICENSE) file for more details.

## βœ’ Author


Author Vagner Nerves

Vagner Nerves


Made with love and hate πŸ˜…, get in touch!

[![Linkedin Badge](https://img.shields.io/badge/-LinkedIn-1f6feb?style=flat-square&logo=Linkedin&logoColor=white&link=https://www.linkedin.com/in/vagnernervessantos/)](https://www.linkedin.com/in/vagnernervessantos/)
[![Gmail Badge](https://img.shields.io/badge/-vagnernervessantos@gmail.com-1f6feb?style=flat-square&logo=Gmail&logoColor=white&link=mailto:vagnernervessantos@gmail.com)](mailto:vagnernervessantos@gmail.com)
[![GitHub Badge](https://img.shields.io/badge/-GitHub-1f6feb?style=flat-square&logo=GitHub&logoColor=white&link=https://github.com/VagnerNerves)](https://github.com/VagnerNerves)