GithubHelp home page GithubHelp logo

fabric's Introduction

Media App

Small full stack app backend is done with Node Express and front end is done with react.

This app is fetching data on the backend from an API when button is clicked, once the data is fetched, if record is unique, it gets stored in local db.

Backend (Node Express)

Use the node package manager to install install all the dependencies.

npm install

API key

Add your API Key in .envSample and then rename that file into (.env). You can get your API key from below link after your sign up:

http://www.omdbapi.com/apikey.aspx

.env

make sure your .env file has the following variables:

KEY = YOUR_API_KEY_HERE TEST = postgresql:///YOURDBTEST DEV = postgresql:///YOURDB URL=http://www.omdbapi.com/?

Starting Server 3001

node server.js

Testing

Tests are written using Jest and SuperTest, to run tests:

jest
or
npm run test

Frontend (React)

Use the node package manager to install install all the dependencies.

npm install

Starting App server 3000

npm start

Testing

Tests are written using React Testing Library,to run tests:

npm run test

fabric's People

Contributors

sammerham avatar

Stargazers

 avatar

Watchers

 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.