abelbryo / Angular-Play-Reactivemongo-Seed

Angular-Play2.3.2-Reactivemongo
GNU General Public License v3.0
0 stars 0 forks source link

The Eventual PlayFramework-AngularJS-Bootstrap-MongoDB Seed Project

This project belongs to someone. All I did was update the dependencies and refactor the code a tiny bit.

Introduction

The Eventual PlayFramework-AngularJS-Bootstrap-MongoDB Seed Project is a seed project that provides a CRUD implementation. It uses the Play Framework and MongoDB on the back-end, and AngularJS and Bootstrap on the front-end. It is designed to underpin the development of future applications that adopt the same combination of technologies.

Features

The seed has the following features (to recall a few):

  1. It offers a complete single-page application experience.

  2. It uses the asynchronous and non-blocking ReactiveMongo driver.

  3. It supports the new HTML5 routing and histoty API (i.e., no hashbangs, no bullshit).

  4. It packs JavaScript libraries inside the solution (i.e., no WebJars, no download time, and again no bullshit).

  5. It makes minimal usage of Play Scala templates, thereby clearing the space for AngularJS directives in your HTML.

  6. It cleanly separates between Play routes that serve HTML and those that serve JSON.

  7. It cleanly separates and optimally maps AngularJS routes to Play routes.

  8. It conceals Play routes from end-users, thereby ensuring that all pages are properly styled before they are presented.

Ingredients

The seed uses the following software components:

  1. Play Framework 2.3.2

  2. MongoDB 2.6.1

  3. AngularJS 1.1.5

  4. Bootstrap 3.0.2

  5. jQuery 1.10.2 (used by 4)

Deployment

Follow these steps in order to deploy the seed on your machine:

  1. Download and extract Play Framework 2.3.2.

  2. Download and extract MongoDB 2.6.1.

  3. Clone the project: git clone https://github.com/angyjoe/eventual.git.

  4. Start mongod (the daemon process for the MongoDB system).

  5. Create and populate the celebrities’ database using the script /eventual/db/script.js.

  6. Go to the root of the project: cd eventual.

  7. Launch Play at the default 9000 port: /PATH-TO-PLAY/play run.

  8. Enjoy the seed: http://localhost:9000 or the following screenshots!

Screenshots

Celebrities List

Celebrities List

Adding a Celebrity

Adding a Celebrity

Editing/Deleting a Celebrity

Editing a Celebrity

Licence

This software is licensed under the GNU General Public License Version 3.

Copyright © 2013 Sari Haj Hussein.

Code Disclaimer

The author of this software code has used his best efforts in preparing the code. These efforts include the development, research, testing, and optimization of the theories and programs to determine their effectiveness. This software code is not designed or intended for use in the design, construction, operation or maintenance of any nuclear facility. Author disclaims any express or implied warranty of fitness for such uses. The author makes no warranty of any kind, expressed or implied, with regard to this software code or to the documentation accompanying it. In no event shall the author be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption whatsoever) arising out of, the furnishing, performance, or use of this software code, even if advised of the possibilities of such damages.