Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/navaneeth-21/simple_graphql_api
- Owner: Navaneeth-21
- Created: 2024-07-25T17:46:02.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-09T18:06:14.000Z (3 months ago)
- Last Synced: 2024-10-11T13:22:22.113Z (about 1 month ago)
- Topics: apollo-server, expressjs, graphql, graphql-server, mongoose, nodejs
- Language: JavaScript
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 dependenciesnpm 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.