- !!!!!!!!!! This project is not finished yet !!!!!!!!Hi, I made a user management application using Laravel, MongoDB and VueJs. To test the API created in this application, I used VueJs in the frontend and Bootstrap in the design.
- Add new user
- Delete user key by _id
- Update user key by _id
- Get all users
- Get single user
- Design support to do all these operations
Frontend: Vue, Bootstrap5
Backend: PHP,Laravel
Database: MongoDB
GET /api/users GET /api/users/{id}| Parametre | Tip | Açıklama |
|---|---|---|
id |
string |
important. Get Single User by _id |
DELETE /api/users/{id}| Parametre | Tip | Açıklama |
|---|---|---|
id |
string |
important. DELETE User by _id |
POST /api/users/ POST /api/users/| Parametre | Tip | Açıklama |
|---|---|---|
_id |
string |
important. if user editing, '_id' variable should be sent with formdata |
Clone project
git clone https://github.com/efeibrahimm/laravel-mongodb-users-api.gitGo to project folder
cd project-folderInstall required packages
composer install && composer update npm install Install the Database on Local Server and add the variables to the .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_DB_name
DB_USERNAME=your_DB_username
DB_PASSWORD=your_DB_passwordRun the server
php artisan serve npm run hot Email [email protected] for support.