Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamnasrudin03/movies-app-adamnasrudin
https://github.com/adamnasrudin03/movies-app-adamnasrudin
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/adamnasrudin03/movies-app-adamnasrudin
- Owner: adamnasrudin03
- Created: 2020-12-18T07:40:03.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-18T07:42:55.000Z (almost 4 years ago)
- Last Synced: 2024-10-17T01:59:31.683Z (about 1 month ago)
- Language: JavaScript
- Size: 41 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
Backend (backend-adamnasrudin)
Menggunakan express js dengan database mysql,
data di dapat dari api yang disediakan https://5f50ca542b5a260016e8bfb0.mockapi.io/api/v1/movies/.
tampilan Rest API sedikit di modivikasi , terutama bagian get list ditambahkan pagination.
buka file .env untuk mengatur port running dan configure db, default yang disediakan sebagai berikut :
PORT=8000DB_HOST=127.0.0.1
DB_NAME=movie_db
DB_USERNAME=root
DB_PASSWORD=sebelum running buatlah database di mysql sesuai db_name yang ada di .env,
kemudian running di terminal dengan perintah; nodemon index.jsFrontend (frontend-adamnasrudin)
Menggunakan react js , scss,
baseURL axios terdapat di file frontend-adamnasrudin\src\utils\apiUtils.js ,
dan fetch data autocomplete difile frontend-adamnasrudin\src\pages\Home\index.js