https://github.com/dejongyeong/mongodb
IT Tralee Year 4 Module: Advanced Database Programming - MongoDB Portfolio with PHP Laravel Framework
https://github.com/dejongyeong/mongodb
bootstrap-4 bootstrap-tagsinput css3 database-programming html5 laravel56 mongodb php
Last synced: 3 months ago
JSON representation
IT Tralee Year 4 Module: Advanced Database Programming - MongoDB Portfolio with PHP Laravel Framework
- Host: GitHub
- URL: https://github.com/dejongyeong/mongodb
- Owner: dejongyeong
- Created: 2018-10-27T10:15:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-25T22:56:58.000Z (over 4 years ago)
- Last Synced: 2025-04-12T05:00:01.032Z (3 months ago)
- Topics: bootstrap-4, bootstrap-tagsinput, css3, database-programming, html5, laravel56, mongodb, php
- Language: PHP
- Homepage:
- Size: 1.46 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MongoDB
IT Tralee Year 4 Semester 1
MongoDB Portfolio for Advanced Database Programming in IT Tralee. Aim of this portfolio is to show the study outcome for performing MongoDB CRUD operation and MapReduce with the use of selected APIs from UI.
Implementation is related to big data where book details is stored in MongoDB.
Programming Language and APIs used for implementation:
* Laravel PHP Framework.
* [Jenssegers MongoDB API](https://github.com/jenssegers/laravel-mongodb)
* Twitter Bootstrap 4.
* HTML 5 and CSS 3.
* JavaScript and jQuery.IDE used for implementation
* Microsoft Visual Studio Code.## Pre-requisite
1. Install [MongoDB Driver](https://pecl.php.net/package/mongodb/1.5.3/windows) for PHP.
2. Extract DLL zip file and extract inside PHP's ext directory.
3. Add the following command in PHP Configuration file (php.ini)
```
extension=php_mongodb.dll
```## Installation
Clone Repository
### Install required libraries
```
composer install
```
```
bower install
```
```
npm install
```### Configuration
Set environment (env) file:
```
cp .env.example .env
```
Generate application key:
```
php artisan key:generate
```
Create database and add database settings to .env file.### Live Preview
Starting Laravel server
```
php artisan serve
```### Watching Assets for Changes
Webpack automatically recompile assets when detects a change.
```
npm run watch
```
Certain environments Webpack is not updating
```
npm run watch-poll
```### Running Mix
Run all Mix tasks
```
npm run dev
```
Run all Mix tasks and minify output
```
npm run production
```