Coder Social home page Coder Social logo

zamronypj / snippet Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 874 KB

Code snippet sharing web application

License: GNU General Public License v3.0

PHP 77.10% JavaScript 0.87% SCSS 0.07% Blade 21.97%
snippets laravel laravel5 code-snippets code-share laravel-application

snippet's Introduction

snippet

This is a code snippet sharing web application written in PHP using Laravel 5.2. It is inspired by http://pastebin.com

Installation

  • Clone this repository and then cd snippet/snippet
  • Make sure you have Composer installed somewhere.
  • Run composer install to install all software packages dependencies.
  • Create a virtual host on your web server then point public directory as Document Root.
  • Rename .env.example file to .env file
  • From shell run php artisan app:key to generate application key (see APP_KEY in .env file)
  • Create a MySQL database and user that has priviledge to basic CRUD, and create table.
  • Edit .env file and change DB_HOST, DB_DATABASE, DB_USERNAME, DB_PASSWORD according to your database configuration.
  • From shell run php artisan migrate:install to setup table.
  • From shell run composer dumpautoload to generate autoload file (optional).

Features

Users are able to paste their code snippet and will receive short URL that point to their code snippet.

Dependency

This application use :

That's it. If you add new cool features, feel free to submit PR.

Zamrony P. Juhara Send me email or Tweet me at @zpjuhara

snippet's People

Contributors

dependabot[bot] avatar zamronidomino avatar zamronypj 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.