Skip to content

πŸ›€ Example of S.O.L.I.D Principles implementation in SPA + PWA.

Notifications You must be signed in to change notification settings

supermenkw/movieholic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Initialization

Project initialization.

yarn add .

API KEY

Edit with your own API KEY, you can register HERE!
file path: src-> scripts -> globals -> config.js

const CONFIG = {
    KEY: 'YOUR_OWN_TMDB_API_KEY',
    BASE_URL: 'https://api.themoviedb.org/3/',
    BASE_IMAGE_URL: 'https://image.tmdb.org/t/p/w500/',
    DEFAULT_LANGUAGE: 'en-us',
    CACHE_NAME: new Date().toISOString(),
};

export default CONFIG;

Available Scripts

In the project directory, you can run:

yarn run start-dev

Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.

The page will reload if you make edits and dont forget to clear cache first if you develop PWA before use this script in this project.

yarn run build

Builds the app for production to the dist folder.
It correctly bundles the app in production mode and optimizes the build for the best performance.

About

πŸ›€ Example of S.O.L.I.D Principles implementation in SPA + PWA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published