Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andr3w03/my-hungry
Lapar kan? Cari rumah makan dan restoran terbaik dan ramah di kantong sekarang juga!
https://github.com/andr3w03/my-hungry
api e2e-testing indexed-db integration-testing progressive-web-app pwa service-worker web-optimization
Last synced: 3 days ago
JSON representation
Lapar kan? Cari rumah makan dan restoran terbaik dan ramah di kantong sekarang juga!
- Host: GitHub
- URL: https://github.com/andr3w03/my-hungry
- Owner: aNdr3W03
- Created: 2023-07-01T03:21:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-15T22:44:00.000Z (over 1 year ago)
- Last Synced: 2024-12-02T03:33:05.930Z (2 months ago)
- Topics: api, e2e-testing, indexed-db, integration-testing, progressive-web-app, pwa, service-worker, web-optimization
- Language: JavaScript
- Homepage: https://myhungry.netlify.app
- Size: 3.87 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About My Hungry
My Hungry is a Web-based application with Progressive Web App technology that provides information about restaurants. This application can help you find restaurant locations, types of restaurants, food and beverages offered, user ratings, and also can even provide restaurant reviews.
## Preview
https://github.com/aNdr3W03/My-Hungry/assets/64983961/2865a26e-4aee-4565-a32f-28d760c26f26
## Features
- Responsive web view on desktop or mobile device
- Add or install to your desktop or home screen
- Single-page application
- Can be accessed offline (cached)
- Add restaurant to Favorites
- Delete restaurant from Favorites
- Give a review of the restaurant## Build With
## Data Resource
Restaurant data is taken from the API source provided by [Dicoding](https://www.dicoding.com "Dicoding Indonesia"). The API link and its documentation can be seen at the following link, [restaurant-api.dicoding.dev](https://restaurant-api.dicoding.dev "Restaurant API Documentation").
## Installation
The steps to install this project on your local machine are as follows:
1. Clone this Repository
```bash
git clone https://github.com/aNdr3W03/My-Hungry.git
```2. Install all the Packages needed for this Project
```bash
npm install
```3. Run the App
> If you just want to run on the localhost, use this one
```bash
npm run start-dev
```or
> If you want to build it, use this one
```bash
npm run build-img-serve
```5. Stop the application program by `ctrl + c`.
## Testing and Checking
1. [ESLint](https://eslint.org "ESLint") Script Linting
```bash
npm run lint
```2. Integration Testing using [KarmaJS](https://karma-runner.github.io/latest/index.html "KarmaJS")
```bash
npm run test
```3. End-to-End Testing using [CodeceptJS](https://codecept.io "CodeceptJS")
```bash
npm run e2e
```## Test Case for Restaurant Like and Unlike Scenario
You can check the Test Cases that were run for automation testing on this project via the following link,
[`README.md`](https://github.com/aNdr3W03/My-Hungry/blob/main/specs/README.md "README.md")
Also available in Indonesian!
*Juga tersedia dalam bahasa indonesia loh!*[`README.id.md`](https://github.com/aNdr3W03/My-Hungry/blob/main/specs/README.id.md "README.id.md")