Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leandrorsant/graphql-mongodb
A MongoDB GraphQL API
https://github.com/leandrorsant/graphql-mongodb
apollo-graphql-server appolo-server graphql-server mongodb-atlas
Last synced: 28 days ago
JSON representation
A MongoDB GraphQL API
- Host: GitHub
- URL: https://github.com/leandrorsant/graphql-mongodb
- Owner: leandrorsant
- Created: 2023-10-29T19:23:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-29T20:19:57.000Z (about 1 year ago)
- Last Synced: 2024-09-28T21:41:32.576Z (about 1 month ago)
- Topics: apollo-graphql-server, appolo-server, graphql-server, mongodb-atlas
- Language: JavaScript
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Graphql MongoDB
This project is an Apollo server GraphQL API which connects to a MongoDB Atlas database and provides CRUD functionality to manage recipe data.# Get started
Clone this repository, install dependencies, and start server:
```
git clone
cd graphql-mongodb
npm i
npm start
```You must have a valid [MongoDB Atlas](https://www.mongodb.com/atlas) connection url to run this project. To add your MongoDB url, you can either create a '.env' file in this project's root directory containing a "URL" string, or hardcore it into 'mongoose.connect' at index.js file.
A simple way to test the api is by heading over to (localhost:5000), which runs an Apollo GraphQl sandbox.
# screenshots