Socket
Socket
Sign inDemoInstall

apollo-server-boilerplate

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-server-boilerplate

Boilerplate Apollo and ExpressJS servers


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Apollo Server Boilerplate (CLI)

Latest Release: v1.0.2

This CLI allows you to create your server by running just one command: apollo-server-boilerplate. The server runs using the following libraries:

  1. Apollo Server Express (apollo-server-express)
  2. PrismaJS (@prisma/client and prisma)
  3. ExpressJS (express)
  4. GraphQL (graphql)

Usage

Without a git repo

apollo-server-boilerplate [Project folder name]

With a git repo

apollo-server-boilerplate [Project folder name] --git (or -g)

Questions asked

  1. Which GraphQL schema generator should be used? (choose NexusJS, since only this is supported in v1)
  2. Development Server port (default: 8080)
  3. GraphQL schema path (default: /graphql)
  4. Server URL after deployment (can be filled in later if left empty)
  5. Database URL (can be filled in later if left empty)

That's it!

Later releases post v1 will support type-graphql too

Keywords

FAQs

Package last updated on 25 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc