Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rproenza86/expressjs-intermediate-training

Going deep onto the use of Express.js to build a RESTful API which interact with my MongoDB database for the CRUD ops.
https://github.com/rproenza86/expressjs-intermediate-training

babel debugging es6 express-js express-middleware mongodb mongoose mongoose-schema mvc-architecture node-js

Last synced: 23 days ago
JSON representation

Going deep onto the use of Express.js to build a RESTful API which interact with my MongoDB database for the CRUD ops.

Awesome Lists containing this project

README

        

# expressjs-intermediate-training

## Overview

Good news for JavaScript developers: Using Node.js and Express, you can build a web API to push and pull data from your applications via HTTP.

You don't have to learn ASP.NET or Python. You don't even have to know that much about back-end programming. In this training, I touched how to create a simple, RESTful web API with these two popular JavaScript libraries.

I have gone from how to set up the project, including the Express server and testing environment, and create the endpoints needed to add, update, and delete data from a MongoDB database. Finally I trained how to serve static files such as images with your new API, and explores additional libraries that can help streamline API development, such as [Koa](https://koajs.com), [Swagger](https://swagger.io) and [LoopBack](https://loopback.io).

## Objectives

- Setting up a project and a server
- Setting up a database and schema
- Creating POST, GET, PUT, and DELETE endpoints
- Serving files
- Debugging