Skip to content

Commit

Permalink
v2 — Nexus Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanM04 committed Nov 7, 2020
1 parent 4e7768c commit cbaf06a
Show file tree
Hide file tree
Showing 21 changed files with 481 additions and 389 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,7 @@ dist

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.history

generated/
.vercel
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
</a>
<!-- License -->
<img alt="GitHub" src="https://img.shields.io/github/license/JuanM04/animeflv-graphql?style=flat-square">
<!-- Build Status -->
<a href="https://github.com/JuanM04/animeflv-graphql/actions?query=workflow%3A%22Now+Deploy%22">
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/workflow/status/JuanM04/animeflv-graphql/Now Deploy?style=flat-square">
</a>
</div>

<div align="center">
Expand Down
12 changes: 0 additions & 12 deletions graphql/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions graphql/resolvers/index.ts

This file was deleted.

92 changes: 0 additions & 92 deletions graphql/resolvers/queries.ts

This file was deleted.

154 changes: 0 additions & 154 deletions graphql/type-defs.ts

This file was deleted.

89 changes: 0 additions & 89 deletions graphql/utils.ts

This file was deleted.

11 changes: 11 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { ApolloServer } from "apollo-server-micro";
import schema from "./schema";

const server = new ApolloServer({
schema,
introspection: true,
playground: true,
tracing: process.env.NODE_ENV === "development",
});

export default server.createHandler({ path: "/graphql" });
Loading

0 comments on commit cbaf06a

Please sign in to comment.