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

https://github.com/foyez/realworld-nodejs-api

realworld API (JSON) - LIVE
https://github.com/foyez/realworld-nodejs-api

Last synced: 2 months ago
JSON representation

realworld API (JSON) - LIVE

Awesome Lists containing this project

README

        

# Realworld API

> ### (Express + MongoDB) codebase containing real world examples (CRUD, auth, advanced patterns, etc)

# Code Overview

## APIs

- [api documentation](https://foyez-realworld-api.herokuapp.com/api/v1/docs)

## Dependencies

- [expressjs](https://github.com/expressjs/express) - The server for handling and routing HTTP requests
- [express-jwt](https://github.com/auth0/express-jwt) - Middleware for validating JWTs for authentication
- [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) - For generating JWTs used by authentication
- [mongoose](https://github.com/Automattic/mongoose) - For modeling and mapping MongoDB data to javascript
- [mongoose-unique-validator](https://github.com/blakehaswell/mongoose-unique-validator) - For handling unique validation errors in Mongoose. Mongoose only handles validation at the document level, so a unique index across a collection will throw an exception at the driver level. The `mongoose-unique-validator` plugin helps us by formatting the error like a normal mongoose `ValidationError`.
- [passport](https://github.com/jaredhanson/passport) - For handling user authentication
- [slug](https://github.com/dodo/node-slug) - For encoding titles into a URL-friendly format