Skip to Main Content
Advanced TypeScript Programming Projects
book

Advanced TypeScript Programming Projects

by Peter O'Hanlon
July 2019
Intermediate to advanced content levelIntermediate to advanced
416 pages
10h 6m
English
Packt Publishing
Content preview from Advanced TypeScript Programming Projects

Creating our application

For our ToDo application, we are going to start off with the server implementation. As in the previous chapter, we are going to create a separate client and server folder structure, with the Node.js code being added to the server code.

We're going to start our journey into creating a GraphQL server with the database code. All the data for our client is going to come from the database, so it makes sense for us to put everything we need in place. As in the previous chapter, we are going to install the mongoose packages that we need to work with MongoDB:

npm install mongoose @types/mongoose --save-dev
Something to bear in mind when choosing which command to use to install packages relates to the use of --save versus ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn TypeScript 3 by Building Web Applications

Learn TypeScript 3 by Building Web Applications

Sebastien Dubois, Alexis Georges

Publisher Resources

ISBN: 9781789133042Supplemental Content