-
Download this repo : Click Here
-
Extract the zip file
-
Open "client" folder and run this command ===> npm install
-
Open "server" folder and run this command ===> composer install
-
Install MongoDB Click Here
-
Download MongoDB PHP extension for wamp :
-
Open this link : Click Here
-
In "DLL List" section, select your version (must be thread safe) - exemple: PHP 7.1 Thread Safe (TS) x64
-
-
Extract zip file and move "php_mongodb.dll" to Wamp extensions folder
- C:\wamp64\bin\php\php_VERSION\ext
-
In your wamp, Open "php.ini" , Search for " Windows Extensions ", and add this line :
-
extension=php_mongodb.dll
-
-
Restart your apache server... and check if mongodb exists in the list, run ===> php -m
-
To list all records in MongoDB shell, run:
db.COLLECTION_NAME_HERE.find().pretty()
replace COLLECTION_NAME_HERE with your collection
-
To remove all records in MongoDB shell, run:
db.user.remove({})
The argument to remove() is a filter document, so passing in an empty document means 'remove all'
read more click here
-
How To fix CORS problem in Laravel - Angular : Click Here