Skip to content
Build a RESTful API with Laravel and MongoDB
PHP Other
  1. PHP 99.2%
  2. Other 0.8%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
public
LICENSE
README.md
artisan added controllers and classes Jun 8, 2014
composer.json added facebook login, list of active sessions Aug 12, 2014
server.php login, logout, auth, show user Jun 22, 2014

README.md

#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

You can’t perform that action at this time.