Skip to content

ramdani15/laravel-mongodb-rest-api

Repository files navigation

Laravel MongoDB REST API

Requirements

Before setup the project, you need to install this :

  • Docker Compose

Installation Guide

  • Run docker-compose up -d --build
  • Run docker-compose exec app composer install
  • Run docker-compose exec app npm install
  • Copy env.example to .env
  • Copy env.example to .env.testing for unit testing
  • Run docker-compose exec app php artisan migrate:refresh --seed
  • Run docker-compose exec app php artisan key:generate
  • For unit testing Run docker-compose exec app php artisan test

URL

  • Web : http://localhost:8080
  • DB / MongoDB : http://localhost:27018
  • API Document : http://localhost:8080/api/v1/documentation

About

REST API with Laravel and MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages