December 2014
Intermediate to advanced
214 pages
4h 6m
English
To solve our empty database and before we create our frontend interface, let's add some data with the Chrome extension Postman. By the way, it's a very useful browser interface to work with RESTful APIs.
As we already know that our database is empty, our first task is to insert a record. To do so, perform the following steps:
http://localhost:8080/api/speakers. Select the x-www-form-urlencoded option and add the properties of our model:var SpeakerSchema = new Schema({ name: { type: String, default: '' }, company: { type: String, default: '' }, title: { type: String, default: '' }, description: { type: String, default: '' }, picture: { type: String, default: '' }, schedule: { type: String, ...
Read now
Unlock full access