{"size": 539, "ext": "js", "max_stars_repo_path": "index.js", "max_stars_repo_name": "dhetacm/mongoose-express-learn", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "index.js", "max_issues_repo_name": "dhetacm/mongoose-express-learn", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "index.js", "max_forks_repo_name": "dhetacm/mongoose-express-learn", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.25, "max_line_length": 58, "alphanum_fraction": 0.6771799629}
const PORT = 3003;

// Initialize Express
const express = require("express");
const app = express();

//Initialize Mongoose
const mongoose = require("mongoose");
const MONGODB_URI = `mongodb://localhost:27017/company`;
mongoose.connect(
  MONGODB_URI,
  {
    useNewUrlParser: true
  }
);

const Schema = mongoose.Schema
const Customers = mongoose.model("customers", new Schema({
    first_name: String,
    last_name: String,
    age: Number,
    adress: ()
}))

app.listen(PORT, () => {
  console.log(`App running on PORT ${PORT}`);
});
