Skip to content

raulcv/crud-express-apollo-graphql-mongo

Repository files navigation

GraphQL API

A GraphQL API project built and mantained with the lastest version dependencies.

I have used Apollo Server with Express to creating the Server with NodeJs in JavaScript and other properties from Apollo as well

Features

  • New Apollo Server V4
  • Subscriptions
  • Authentication using JWT
  • Full CRUD operations
  • Database MongoDB Atlas

All dependencies are updated to Apollo v4 the lastes of Apollo

Further details: Apollo Server migration

 Languages and Tools 🛠 :

JavaScript - ApolloServer - GraphQL - Express - bcryptjs - Moongose - JsonWebToken and ...

Run locally,

you need to have installed in your local machine nodejs, mongodb(You can use MongoDB Atlas instead) and npm to init, manage and install NodeJS dependencies.

  1. Clone or download this project.

  2. Install dependencies using npm:

npm install
  1. Copy .env.public to .env and update the variables with your own credentials.
cp .env.public .env
  1. Start the server as development mode
npm run start

With ❤️ by raulcv

🤗 If you found helpful this repo, let me a star 🐣

Buy Me A Coffee