The Backend for my Save Tree Message Board. It utilizes Node, Express, Mongo (Mongoose), and GraphQL (Apollo) I have hosted the backend through Heroku, and it's API can be experienced in action by visiting the app front end at: https://danielhwile.github.io/SaveClient/
The Backend handles 3 main models, Users, Posts, and Comments. They have relationships tracked by unique identifiers in each model. Psuedo-Joins are handled by querying in GraphQL. For example while Querying a post, you can call all Comments for that post, this will result in a queried find to the Comments collection for comments tied to that post's id, and return them as an array. The Backend Uses CRUD Mutations and Queries in Graphql.
- User Specific vote tracking on each post
- Hashed and Salted User Passwords for user security.
- Authentication and Authorization with JWT tokens.
- Stateful request handling with Graphql, designed to minimize data transfers and request volume.
- Comment Voting.