Skip to content

Instantly share code, notes, and snippets.

View yvesbou's full-sized avatar

Yves Boutellier yvesbou

View GitHub Profile
// graphQL wrapper
const {gql} = require("apollo-server");
// this graphlQL wrapper basically lets us create a graphQL schema which will be interpreted from a javascript string
module.exports = gql`
type ERC20Coin{
id: ID!
name: String!
}
\_ Server
\_ node_modules
\_ src
\_ index.js
\_ types
\_ package.json
\_ package-lock.json
{
"name": "server",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "nodemon index.js"
},
"keywords": [],
"author": "",
import { useState } from 'react'
const App = () => {
return (
<div className="App">
<h1 className="text-3xl font-bold underline">
Hello world!
</h1>
</div>
@tailwind base;
@tailwind components;
@tailwind utilities;
module.exports = {
content: ["./src/**/*.{html,js, jsx}"],
theme: {
extend: {},
},
plugins: [],
}
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
}
}