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

https://github.com/codesandtags/example-mongoose-express

Basic example which describe an easy way to use Mongoose and ExpressJS
https://github.com/codesandtags/example-mongoose-express

Last synced: 4 months ago
JSON representation

Basic example which describe an easy way to use Mongoose and ExpressJS

Awesome Lists containing this project

README

          

# Example Mongoose And ExpressJS

> Basic example which describe an easy way to use Mongoose library and ExpressJS middlewar

## Goal

Create a base for future projects which uses Mongo as Database and ExpressJS to create APIs or an end-point in the application.

*URL deployed on heroku* : https://mighty-fjord-94570.herokuapp.com/list-countries

### Features

| Feature | Summary |
|----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Express JS | [Express](http://expressjs.com/) is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. |
| Mongoose | [Mongoose](http://mongoosejs.com/) elegant mongodb object modeling for node.js. Object Data Mapping ODM |

## Installation

1. **Clone** or **Download** the git project.

2. [Use npm](https://docs.npmjs.com/cli/install) to install all dependencies in the _package.json_.
```sh
npm install
```

3. Once you finish to install the dependencies you can start the project using the *gulp tasks*.
(please review the *gulpfile.babel.js*.

## Usage

#### Run development tasks:

- Start the server in development mode
```
npm start
```

## Licence
**
Apache 2.0