Mini CRM API is minimal RESTful API using Express and mongoose to complete the Angular version 5 evaluation home work.
For more details check out the API doc
$ git clone https://github.com/angularmrTraining/mini-crm-api
$ cd mini-crm-api
$ npm install 
$ npm run dev
$ npm run test
Contact model schema
{
    firstName: {
        type: String,
        required: true
    },
    lastName: {
        type: String,
        required: true
    },
    gender: {
        type: String,
        enum: ['male', 'female']
    },
    email: {
        type: String,
        unique: true,
        required: true
    },
    phone: {
        type: String,
        required: true
    },
    bio: {
        type: String
    },
    address: {
        lineOne: {
            type: String,
            required: true
        },
        lineTwo: {
            type: String
        },
        city: {
            type: String,
            require: true
        },
        state: {
            type: String
        },
        country: {
            type: String,
            required: true
        },
        zipCode: {
            type: String,
            required: true
        }
    },
    createdAt: {
        type: Date,
        default: Date.now
    }
}