Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.44 KB

README.md

File metadata and controls

35 lines (29 loc) · 1.44 KB

Comment System

To add and remove comments on media. Build created from scratch.

JavaScript Technologies I Will Use:

  • TypeScript
  • Node.js w/Express
  • MongoDB w/Mongoose
  • GraphQL
  • Mocha w/Supertest

Tech Set-Up

  • Server compiles to TypeScript.
  • Server runs using Nodemon.
  • Using concurrently, TypeScript --watch and Nodemon runs at the same time, successfully compiling TypeScript and running server.
  • Test Hello World GraphQl implementation functional.
  • Add testing suite with working /graphql example using mocha, chai, and supertest.
  • Testing suite watches all src and test files and updates automatically.
  • Connect to local MongoDB with Mongoose.
  • Get basic passing test for GraphQL

Create Mongoose/GraphQL API using buildSchema

Get passing test on...

  • A new comment will be added to the database and returned.
  • If no _id is included in the new comment record, a uuid will be created for it.
  • A single comment can be retrieved by _id.
  • All comments may be requested from the database.

Create Mongoose/GraphQL API using GraphQLSchema

Per this advice, get passing test on...

  • A new comment will be added to the database and returned.
  • If no _id is included in the new comment record, a uuid will be created for it.
  • A single comment can be retrieved by _id.
  • All comments may be requested from the database.