maykowww / graphql-starter-express

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node + Apollo Server

Make sure to install the dependencies and setup environment file (.env):

DATABASE_URL=

and after install dependencies:

# npm
npm install

# yarn
yarn install

Development Server

Start the development server on http://localhost:4000:

# npm
npm run dev

# yarn
yarn dev

Production

Build the application for production:

# npm
npm run build

# yarn
yarn build

Locally preview production build:

# npm
npm start

# yarn
yarn start

About


Languages

Language:TypeScript 100.0%