Coder Social home page Coder Social logo

singlepoint's Introduction

Read Me

Installation instructions

To install this project on your local machine, please follow:

  • Minimum PHP 7.1.3
  • run composer update to get latest vendor options
  • There needs to be an .env file set up, please use the example provided (.env.example) and fill in the correct details
  • In command line/terminal cd into the root directory and run $ php artisan migrate
  • This will build up the database with the correct tables
  • chmod -R 777 the storage directory
  • Please run seeders for the database this will create a standard user name and password or register through the website
  • Username: [email protected] and Password: password1
  • Run: php artisan db:seed --class=UsersTableSeeder and php artisan db:seed --class=ApiListSeeder
  • API List Seeder will add the API list to the database
  • Run: php artisan passport:install - This command will create the encryption keys needed to generate secure access tokens. In addition, the command will create "personal access" and "password grant" clients which will be used to generate access tokens.

How it works

This application has a control panel which lists the API feeds given from the document and allows you to import the each list into the database, this will skip duplicate names if the category and location are different.

This will then place the data in a section which will allow the user to publish the location. Once the user is happy an API is created. This API is cached for up to 1 hour and the user can clear the cache through the control panel.

This application uses a public API but also OAuth 2 (which can be tested through Postman and also through vendor/bin/phpunit with the token collected from http://www.topcatclients.com/consumer/)

singlepoint's People

Watchers

Mandip Purewal 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.