Giter VIP home page Giter VIP logo

movie-searcher-app's Introduction

CircleCI

movie-searcher-logo

Movie-Searcher is an application that will help you to search movies online and add them as your favourites in Salesforce. The application is built using Lightning Web Components.

Table of Contents

Generate API Key for OMDb API

  1. Go to OMDb API website and familiarise with the api.
  2. Click on API Key tab, select FREE as Account Type and your email address and click Submit.
  3. Check your inbox for the api key.

Installation Instructions

  1. Set up your environment. Follow the steps in the Quick Start: Lightning Web Components Trailhead project. The steps include:
  1. Authenticate to your hub org and provide it with an alias as shown below:
sfdx force:auth:web:login -d -a myhuborg
  1. Clone the movie-searcher-app repository:
git clone https://github.com/shyamravinair86/movie-searcher-app.git
git cd movie-searcher-app
  1. Create a scratch org and provide it with an alias:
sfdx force:org:create -s -f config/project-scratch-def.json -a movie-searcher-app
  1. Push the app to your scratch org:
sfdx force:source:push
  1. Assign the MovieSearcher permission set to the default user:
sfdx force:user:permset:assign -n MovieSearcher
  1. Export sample data to your dev hub:
sfdx force:data:tree:import --sobjecttreefiles data/My_Favourite_Movie__c.json
  1. Open the scratch org:
sfdx force:org:open

Post Installation Instructions

  1. In your project directory, go to force-app/main/default/labels and edit CustomLabels.labels-meta.xml file. Enter the api key after = in the value attribute:
<?xml version="1.0" encoding="UTF-8"?>
<CustomLabels xmlns="http://soap.sforce.com/2006/04/metadata">
    <labels>
        <fullName>OMDB_API_URL</fullName>
        <language>en_US</language>
        <protected>true</protected>
        <shortDescription>OMDB_API_URL</shortDescription>
        <value>http://www.omdbapi.com/?apikey=</value>
    </labels>
</CustomLabels>
  1. Run the deploy command to push your changes to the Dev Hub:
sfdx force:source:push

movie-searcher-app's People

Contributors

shyamravinair86 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.