Skip to content

efeibrahimm/laravel-mongodb-users-api

Repository files navigation

- !!!!!!!!!! This project is not finished yet !!!!!!!!

User Management Application

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.

Specifications

  • 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

Used technologies

Frontend: Vue, Bootstrap5

Backend: PHP,Laravel

Database: MongoDB

API USAGE

Get All Users

  GET /api/users

Get Single User

  GET /api/users/{id}
Parametre Tip Açıklama
id string important. Get Single User by _id

Delete User

  DELETE /api/users/{id}
Parametre Tip Açıklama
id string important. DELETE User by _id

Create User

  POST /api/users/

Update User

  POST /api/users/
Parametre Tip Açıklama
_id string important. if user editing, '_id' variable should be sent with formdata

Bilgisayarınızda Çalıştırın

Clone project

  git clone https://github.com/efeibrahimm/laravel-mongodb-users-api.git

Go to project folder

  cd project-folder

Install 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_password

Run the server

  php artisan serve
  npm run hot 

Support

Email [email protected] for support.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published