The Escape NYC API is the API created and used for the Escape NYC full CRUD React App. It's hosted on Heroku and stored using MongoDB.
const Trail = new Schema(
{
name: { type: String, required: true },
trailUrl: { type: String, required: true },
difficulty: { type: String, required: true },
distanceFromNyc: { type: Number, required: true },
climbingTime: { type: Number, required: true },
rating: { type: Number, required: true }
},
{ timestamps: true }
)