Coder Social home page Coder Social logo

merlosy / laravel-restful-api-starter Goto Github PK

View Code? Open in Web Editor NEW
67.0 17.0 16.0 747 KB

Build a RESTful API with Laravel and MongoDB

Home Page: http://merlosy.github.io/laravel-restful-api-starter

License: MIT License

PHP 99.15% JavaScript 0.50% ApacheConf 0.35%
laravel restful restful-api starter

laravel-restful-api-starter's Introduction

#Laravel Restful API Starter

Check out the WIKI now!

Contributions are welcome! for both code and doc :)

What is it about?

This starter is based on:

  • Laravel 4.2 : Use the power a lightweight trendy Framework

Use MongoDB for storage, and still Eloquent for ORM:

  • Eloquent for MongoDB : (Laravel MongoDB) You can easily use MongoDB (NoSQL) as well as the basic SQL database managed by Laravel (MySQL, PGSQL, SQLite, SQL server). Everything is already configured!
  • Seeder files (js) to set up MongoDB users

Send custom response messages:

  • ApiResponse (extends Illuminate\Support\Facades\Response) to quickly send json encoded response message, with adapted Http status codes, and even failed validation rules

Multi-device session:

  • Token : allow a user to login from multiple devices and track all his active sessions.

Social media login:

  • single config file: app/config/social.php
  • Facebook Authentication (sdk v4): Wrapper class to easily connect and retrieve info

Reset Password:

  • a simple and safe flow to reset a password with single-use short-lived token. No captcha, no personal question.

About it

Feedback appreciated

Contact me on GitHub

License

MIT

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.