GithubHelp home page GithubHelp logo

shore-app-demo's Introduction

shore-app-demo

This is a test project. To know more about the project and its details please follow this wiki page

Configuration

By default it will have the DefaultConfig and for test runner it will use TestConfig

  • For Email Setup, username and password is required. You can use your gmail credentials but you need to change your Gmail security settings
  • If you want to test the app without using the Email notification, set SENT_EMAIL=False
  • We used Celery for task runner with multiple queue. To change the schedule time, here is the options
  • Ebay APP Id is required
  • Use this one SayedKab-shoreapp-SBX-21d98cfe6-67df03b3 for test purpose.
  • Please note, its difficult to get data from Ebay sandbox, I use these phrases to get data Computer, Toy, Harry Potter, Adventure, USA

Docker-Configuration

  • To run the project from docker, run command - docker-compose up --build for the first time
  • For later use only - docker-compose up
  • For details check docker-compose and DockerFile

Test Runner

  • To check tests - docker exec -it shore-app pytest

Run Project

  • docker-compose up --build or docker-compose up

    Single Page WebApp

  • http://127.0.0.1:5000/

    API

    • Use postman or any other client to test the API
    • Resources -
      • /api/users [GET, POST]
      • /api/user/:id [EDIT, PUT, DELETE]
      • /api/subscriptions [GET, POST]
      • /api/subscription/:id [GET, PUT, DELETE]

Debug

  • Turn on debug mode, set DEBUG=True
  • docker logs - docker logs -f [container-name]
  • Log file in /var/log/shore_app directory, using LogRotation.

Email

App View

  • Home Page

shore-app-demo's People

Contributors

pranto157 avatar

Watchers

 avatar  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.