Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/navaneeth-21/simple_graphql_api

Building a graphql API using Apollo server for Implementation of all CRUD Operations
https://github.com/navaneeth-21/simple_graphql_api

apollo-server expressjs graphql graphql-server mongoose nodejs

Last synced: 7 days ago
JSON representation

Building a graphql API using Apollo server for Implementation of all CRUD Operations

Awesome Lists containing this project

README

        

## Graphql API
- A Simple Graphql API built using Apollo server and implementation of all CRUD operations.

### Technologies Used:
- NodeJS
- ExpresJS
- Graphql
- Apollo Server
- Joi(User validation)
- MongoDB

### Getting Started

### Prerequisites

- Node.js and npm installed


### Setup
1) clone the repository
2) Install all the dependencies

npm install
3) Create a `.env` file in the root directory with the following content:
```env
MONGOURI='Your mongodb uri string'
```

4) Start the server
```sh
npm run start
```
5) You can see the *http://localhost:4000* in your terminal
6) Navigate to the port to run the Apollo server
7) And Perform the CRUD operations you want.