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
- Host: GitHub
- URL: https://github.com/foyez/realworld-nodejs-api
- Owner: foyez
- Created: 2020-03-08T16:41:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T01:34:33.000Z (over 2 years ago)
- Last Synced: 2025-02-05T00:30:06.275Z (4 months ago)
- Language: JavaScript
- Homepage: https://foyez-realworld-api.herokuapp.com/api
- Size: 1.82 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
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