Course lesson

Generate a MongoDB Database for a GraphQL Backend

We will be setting up our GraphQL backend and creating a new MongoDB database.

Duration
2 min
Access
Free
Transcript
Retained from source evidence

We will be setting up our GraphQL backend and creating a new MongoDB database.

Start by cloning the backend repo and installing the dependencies. After that, you need to use the seed file provided to generate a new database by running node src/seed.js.

Once you have a database you can run the project and navigate to [localhost:3000/graphiql](http://localhost:3000/graphiql) and explore the GraphQL IDE.