Skip to content

A comment system server using TypeScript, Node.js, GraphQL, made with Mocha via Test-Driven Development.

Notifications You must be signed in to change notification settings

gabrielkunkel/comment-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A comment system server using TypeScript, Node.js, GraphQL, made with Mocha via Test-Driven Development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages