Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
e0bbc54
Delete webpack.prod.js
wilsonoey Nov 11, 2023
e47d42f
Delete webpack.dev.js
wilsonoey Nov 11, 2023
1d661ff
Delete webpack.common.js
wilsonoey Nov 11, 2023
139b09c
Delete package.json
wilsonoey Nov 11, 2023
36eec30
Delete src directory
wilsonoey Nov 11, 2023
f28c53c
Delete package-lock.json
wilsonoey Nov 11, 2023
e44ac1d
Add files via upload
wilsonoey Nov 11, 2023
61d6f03
Delete 404.css
wilsonoey Nov 11, 2023
548d5b0
Delete 404.html
wilsonoey Nov 11, 2023
2726555
Delete add-page.html
wilsonoey Nov 11, 2023
be1a013
Delete add-page.css
wilsonoey Nov 11, 2023
2177857
Delete index.css
wilsonoey Nov 11, 2023
5aec1b6
Delete index.html
wilsonoey Nov 11, 2023
1487c0c
Delete style.css
wilsonoey Nov 11, 2023
443f75b
Add files via upload
wilsonoey Nov 19, 2023
d21ac04
Delete src directory
wilsonoey Nov 19, 2023
d20a2d0
Delete xliff directory
wilsonoey Nov 19, 2023
b37e85c
Add files via upload
wilsonoey Nov 19, 2023
10afe8a
Merge pull request #4 from wilsonoey60/submission-2-1
wilsonoey Nov 19, 2023
e81c234
Delete for portfolio directory
wilsonoey Nov 20, 2023
b8f43cc
Delete src directory
wilsonoey Nov 20, 2023
584dee2
Delete xliff directory
wilsonoey Nov 20, 2023
f2f4400
Delete firebase.json
wilsonoey Nov 20, 2023
d86b3e2
Delete lit-localize.json
wilsonoey Nov 20, 2023
a939df9
Delete package-lock.json
wilsonoey Nov 20, 2023
5b65bfd
Delete package.json
wilsonoey Nov 20, 2023
d842230
Delete webpack.common.js
wilsonoey Nov 20, 2023
70e574c
Delete webpack.dev.js
wilsonoey Nov 20, 2023
da1f3f8
Delete webpack.prod.js
wilsonoey Nov 20, 2023
d5d9cc2
Add files via upload
wilsonoey Nov 20, 2023
c6e4a55
Create README.md
wilsonoey Feb 7, 2024
5b342f3
Update README.md
wilsonoey Feb 7, 2024
cf6ba3e
Update README.md
wilsonoey Feb 7, 2024
829ba69
Update README.md
wilsonoey Feb 12, 2024
c6d9794
Update README.md
wilsonoey Apr 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
> English Languages

# Story App

## Background
Story App is an application that is used to share stories with account owners who have already created.

## Technology
The technology used to create this application is as follows:
- For appearance, I used the [TeleportHQ](https://teleporthq.io) application template then converted it into code using **HTML** and **CSS** then I restructured **HTML** and replaced **CSS** becomes **SCSS** for **Bootstrap** customization
- To display content coming from the API, I use **Axios**
- For the language change feature, I use `@lit/localize-tools`
- To find out other *packages* used to create applications, you can see [package.json](https://github.com/wilsonoey60/Belajar-Tools-Front-End-Web-Intermediate/blob/submission-2/package.json)

## Feature
- Stories publicly without logging in using data originating from [JSON](https://github.com/wilsonoey60/Belajar-Tools-Front-End-Web-Intermediate/blob/submission-2/src/public/data/data.json)
- Register
- Login
- Dashboard uses data coming from [API](https://story-api.dicoding.dev/v1/#/)
- Add story
- Alert
- Localization uses 3 languages, such as English, Indonesian, and Chinese

> Bahasa Indonesia

# Story App

## Latar belakang
Story App adalah sebuah aplikasi yang digunakan untuk berbagi cerita kepada pemilik akun yang sudah pernah buat.

## Teknologi
Teknologi yang digunakan untuk membuat aplikasi ini sebagai berikut:
- Untuk tampilan, Saya menggunakan templat aplikasi [TeleportHQ](https://teleporthq.io) kemudian dikonversi menjadi kode menggunakan **HTML** dan **CSS** lalu Saya melakukan restrukturisasi **HTML** dan mengganti **CSS** menjadi **SCSS** untuk penyesuaian **Bootstrap**
- Untuk menampilkan konten yang berasal dari API, Saya menggunakan **Axios**
- Untuk fitur ubah bahasa, Saya menggunakan `@lit/localize-tools`
- Untuk mengetahui *packages* lainnya yang digunakan untuk membuat aplikasi bisa kalian lihat di [package.json](https://github.com/wilsonoey60/Belajar-Tools-Front-End-Web-Intermediate/blob/submission-2/package.json)

## Fitur
- Cerita secara publik tanpa *login* menggunakan data yang berasal dari [JSON](https://github.com/wilsonoey60/Belajar-Tools-Front-End-Web-Intermediate/blob/submission-2/src/public/data/data.json)
- *Register*
- *Login*
- *Dashboard* menggunakan data yang berasal dari [API](https://story-api.dicoding.dev/v1/#/)
- Tambah cerita
- *Alert*
- Lokalisasi menggunakan 3 bahasa, yaitu Inggris, Indonesia, dan China
1 change: 1 addition & 0 deletions dist/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><title>404 - Not Found</title><meta name="viewport" content="width=device-width,initial-scale=1"/><meta charset="utf-8"/><meta property="twitter:card" content="summary_large_image"/><script defer="defer" src="app.bundle.js"></script></head><body><link href="../sass/style.scss"/><div><loading-component></loading-component><notfound-component class="not-found-container"></notfound-component></div><script data-section-id="navbar" src="https://unpkg.com/@teleporthq/teleport-custom-scripts"></script></body></html>
Binary file added dist/449ad8adf6ae0424b7ed.woff
Binary file not shown.
1 change: 1 addition & 0 deletions dist/809.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/966.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/addpage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><title>AddPage - Edible Practical Eel</title><meta property="og:title" content="AddPage - Edible Practical Eel"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta charset="utf-8"/><meta property="twitter:card" content="summary_large_image"/><script defer="defer" src="app.bundle.js"></script></head><body><link href="../sass/style.scss"/><div><loading-component></loading-component><div class="add-page-container"><div class="add-page-header"><header data-thq="thq-navbar" class="add-page-navbar-interactive"><span class="add-page-logo">STORYAPP</span><div data-thq="thq-navbar-nav" class="add-page-desktop-menu"><nav class="add-page-links"><links-appbar class="home-links"></links-appbar><locale-picker class="dropdown"></locale-picker></nav></div><div data-thq="thq-burger-menu" class="add-page-burger-menu"><i class="bi bi-list"></i></div><div data-thq="thq-mobile-menu" class="add-page-mobile-menu"><div class="add-page-nav"><div class="add-page-top"><span class="add-page-logo1">STORYAPP</span><div data-thq="thq-close-menu" class="add-page-close-menu btn-close"><i class="bi bi-x"></i></div></div><homelinks-component class="add-page-links1"></homelinks-component></div></div></header></div><formaddstory-component class="form-input-container"></formaddstory-component><footer-component class="home-footer"></footer-component></div></div><script data-section-id="navbar" src="https://unpkg.com/@teleporthq/teleport-custom-scripts"></script></body></html>
1 change: 1 addition & 0 deletions dist/addpageforguest.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><title>AddPage - Edible Practical Eel</title><meta property="og:title" content="AddPage - Edible Practical Eel"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta charset="utf-8"/><meta property="twitter:card" content="summary_large_image"/><script defer="defer" src="app.bundle.js"></script></head><body><link href="../sass/style.scss"/><div><loading-component></loading-component><div class="add-page-container"><div class="add-page-header"><header data-thq="thq-navbar" class="add-page-navbar-interactive"><span class="add-page-logo">STORYAPP</span><div data-thq="thq-navbar-nav" class="add-page-desktop-menu"><nav class="add-page-links"><links-appbar class="home-links"></links-appbar><locale-picker class="dropdown"></locale-picker></nav></div><div data-thq="thq-burger-menu" class="add-page-burger-menu"><i class="bi bi-list"></i></div><div data-thq="thq-mobile-menu" class="add-page-mobile-menu"><div class="add-page-nav"><div class="add-page-top"><span class="add-page-logo1">STORYAPP</span><div data-thq="thq-close-menu" class="add-page-close-menu btn-close"><i class="bi bi-x"></i></div></div><homelinks-component class="add-page-links1"></homelinks-component></div></div></header></div><formaddstoryforguest-component class="form-input-container"></formaddstoryforguest-component><footer-component class="home-footer"></footer-component></div></div><script data-section-id="navbar" src="https://unpkg.com/@teleporthq/teleport-custom-scripts"></script></body></html>
2 changes: 2 additions & 0 deletions dist/app.bundle.js

Large diffs are not rendered by default.

122 changes: 122 additions & 0 deletions dist/app.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
/*!
* Bootstrap v5.3.2 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/**
* @license
* Copyright 2014 Travis Webb
* SPDX-License-Identifier: MIT
*/

/**
* @license
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

/**
* @license
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

/**
* @license
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/

/**
* @license
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
1 change: 1 addition & 0 deletions dist/dashboard.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><title>StoryApp</title><meta property="og:title" content="StoryApp"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta charset="utf-8"/><meta property="twitter:card" content="summary_large_image"/><script defer="defer" src="app.bundle.js"></script></head><body><link href="../sass/style.scss"/><div><loading-component></loading-component><div class="home-container"><div class="home-header"><header data-thq="thq-navbar" class="home-navbar-interactive"><span class="home-logo">STORYAPP</span><div data-thq="thq-navbar-nav" class="home-desktop-menu"><nav class="add-page-links"><links-appbar class="home-links"></links-appbar><locale-picker class="dropdown"></locale-picker></nav></div><div data-thq="thq-burger-menu" class="home-burger-menu"><i class="bi bi-list"></i></div><div data-thq="thq-mobile-menu" class="home-mobile-menu"><div class="home-nav"><div class="home-top"><span class="home-logo1">STORYAPP</span><div data-thq="thq-close-menu" class="home-close-menu btn-close"><i class="bi bi-x"></i></div></div><homelinks-component class="home-links1"></homelinks-component></div></div></header></div><div class="home-gallery"><div class="home-gallery1"><div class="home-container1"><listitem-component></listitem-component></div></div></div><footer-component class="home-footer"></footer-component></div></div><script data-section-id="navbar" src="https://unpkg.com/@teleporthq/teleport-custom-scripts"></script></body></html>
69 changes: 69 additions & 0 deletions dist/data/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"error": false,
"message": "Stories fetched successfully",
"listStory": [
{
"id": "story-FvU4u0Vp2S3PMsFg",
"name": "Faisal Sulaiman",
"description": "In rhoncus lorem nec ex egestas mollis vel a mauris. Pellentesque vel diam at neque hendrerit bibendum. Quisque egestas, dolor eu semper dapibus, turpis neque.",
"photoUrl": "https://source.unsplash.com/1200x700/?nature",
"createdAt": "2022-01-08T06:34:18.598Z"
},
{
"id": "story-q9anz4avd83ni2r3",
"name": "Alya Jamaluddin",
"description": "In a pretium sem. Suspendisse eget sollicitudin enim, sed suscipit mi. Integer sagittis lorem urna, tincidunt viverra lectus gravida id. Praesent venenatis nibh ac nisi.",
"photoUrl": "https://source.unsplash.com/1200x700/?mountain",
"createdAt": "2022-01-08T06:34:18.598Z"
},
{
"id": "story-vd83nqai2r39anz4",
"name": "Vina Indah",
"description": "Curabitur euismod risus venenatis felis iaculis tincidunt. Pellentesque velit risus, tempus et odio vel, venenatis volutpat erat. Vivamus sed gravida lacus, non feugiat nibh. Nam.",
"photoUrl": "https://source.unsplash.com/1200x700/?hiking",
"createdAt": "2022-01-08T06:34:18.598Z"
},
{
"id": "story-0Vp2S3PMsFgFvU4u",
"name": "Cinta Nur",
"description": "Pellentesque dignissim fringilla ultricies. Pellentesque velit arcu, mattis sed lacinia sed, congue non nisi. Etiam fermentum id lectus eu fringilla. Nullam a risus nec mauris.",
"photoUrl": "https://source.unsplash.com/1200x700/?tennis",
"createdAt": "2022-01-08T06:34:18.598Z"
},
{
"id": "story-0VPMsFgFp2S3vU4u",
"name": "Eka Kasih",
"description": "Vestibulum lacinia mauris vitae felis mattis accumsan. Fusce eleifend tincidunt malesuada. Morbi euismod tempor est, pulvinar varius purus tristique et. Integer mattis at massa eu.",
"photoUrl": "https://source.unsplash.com/1200x700/?football",
"createdAt": "2022-01-08T06:34:18.598Z"
},
{
"id": "story-usFgFp20VPMS3vU4",
"name": "Bulan Jamilah",
"description": "Nam quis euismod quam. Donec massa purus, sodales vitae massa eu, malesuada egestas magna. Ut rhoncus mattis lorem. Morbi placerat augue id augue aliquet egestas.",
"photoUrl": "https://source.unsplash.com/1200x700/?programming",
"createdAt": "2022-01-08T06:34:18.598Z"
},
{
"id": "story-gFp20VPMS3vU4usF",
"name": "Nurul Tirta",
"description": "Vivamus consectetur eu erat nec luctus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nullam ornare commodo ipsum non luctus.",
"photoUrl": "https://source.unsplash.com/1200x700/?gaming",
"createdAt": "2022-01-08T06:34:18.598Z"
},
{
"id": "story-gFpsF20VPMS3vU4u",
"name": "Wahyu Cahya",
"description": "Ut et dolor vel magna mollis mattis. Ut et erat purus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Curabitur.",
"photoUrl": "https://source.unsplash.com/1200x700/?traveling",
"createdAt": "2022-01-08T06:34:18.598Z"
},
{
"id": "story-PFvU4u0Vp2S3MsFg",
"name": "Burhanuddin Danial",
"description": "Quisque ultricies feugiat tincidunt. Duis auctor condimentum felis, a imperdiet odio lobortis eget. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis.",
"photoUrl": "https://source.unsplash.com/1200x700/?skydiving",
"createdAt": "2022-01-08T06:34:18.598Z"
}
]
}
Binary file added dist/dea24bf5a7646d8b84e7.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><title>StoryApp</title><meta property="og:title" content="StoryApp"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta charset="utf-8"/><meta property="twitter:card" content="summary_large_image"/><script defer="defer" src="app.bundle.js"></script></head><body><link href="../sass/style.scss"/><div><loading-component></loading-component><div class="home-container"><div class="home-header"><header data-thq="thq-navbar" class="home-navbar-interactive"><span class="home-logo">STORYAPP</span><div data-thq="thq-navbar-nav" class="home-desktop-menu"><nav class="add-page-links"><links-appbar class="home-links"></links-appbar><locale-picker class="dropdown"></locale-picker></nav></div><div data-thq="thq-burger-menu" class="home-burger-menu"><i class="bi bi-list"></i></div><div data-thq="thq-mobile-menu" class="home-mobile-menu"><div class="home-nav"><div class="home-top"><span class="home-logo1">STORYAPP</span><div data-thq="thq-close-menu" class="home-close-menu btn-close"><i class="bi bi-x"></i></div></div><homelinks-component class="home-links1"></homelinks-component></div></div></header></div><div class="home-banner"><homebanner-component class="home-banner1"></homebanner-component></div><div class="home-gallery"><div class="home-gallery1"><gallery-component class="home-gallery-heading heading2"></gallery-component><gallerysubheading-component class="home-gallery-sub-heading"></gallerysubheading-component><div class="home-container1"><listitem-component></listitem-component></div></div></div><footer-component class="home-footer"></footer-component></div></div><script data-section-id="navbar" src="https://unpkg.com/@teleporthq/teleport-custom-scripts"></script></body></html>
Loading