Skip to content

A basic to do API using NodeJS, Typescript, Apollo Server, GraphQL and Mongoose

Notifications You must be signed in to change notification settings

Rieranthony/todo-api-graphql-typescript

Repository files navigation

todo-api-graphql-typescript

Quick to do API that uses NodeJS, Typescript, Mongoose, ApolloServer and GraphQL

Dependencies

How to start

Start mongoDB instance using docker compose

  • $ docker-compose up

Install npm packages

  • $ npm i

Start the API for development

  • $ npm run dev

You can access to the GraphQL playground here (http://localhost:5000/graphql)

Build and start the API for production

  • $ npm start

Run test with Jest

  • $ npm test

Run a test coverage with Jest

  • $ npm test -- --coverage

About

A basic to do API using NodeJS, Typescript, Apollo Server, GraphQL and Mongoose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published