Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jkapuscik2/mongo-shopping-cart


https://github.com/jkapuscik2/mongo-shopping-cart

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

# Shopping cart with PHP and MongoDB

Sample imlementation of a simple shopping cart application with REST API

## Standard installation

Install project dependencies using [composer](https://getcomposer.org/download/).
`.env` file will automatically be created and contain project configuration. If for some reason it was not created you can do it manually by copying content of `.env.example` and changing appoperiate parameters.
```
composer install
```

## Docker installation

```
docker-compose up
```

More information can be found in the following [article](https://medium.com/@j.kapuscik2/how-to-use-mongodb-with-php-db0956eb5e6b)