Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cocoawebstudio/apollo-server-boilerplate

it contains a apollo-server ready to use, include webpack, Hot reload, mongoose, JWT
https://github.com/cocoawebstudio/apollo-server-boilerplate

apollo-server boilerplate-template hacktoberfest jwt-authentication webpack

Last synced: 6 days ago
JSON representation

it contains a apollo-server ready to use, include webpack, Hot reload, mongoose, JWT

Awesome Lists containing this project

README

        

# APOLLO SERVER BOILERPLATE

This proyect is a good starting point for a project. it includes multiple packages for facilitate the development and upgrade the performance.

## Set up
This project uses mongodb as a persistent mechanism, to set it up please use the .env.model as a starting point, copying it to a .env file and providing the desired configuration, specially around the db connection information, then follow either the development or production cycle as specified below.

## Development

yarn
yarn build:dev

`yarn build:dev` will start webpack devserver for hot module reload

yarn dev

it will start your proyect

## Production

yarn
yarn build
yarn start

the proyect will start running.

## Build Analize

You can easy analize your bundle and see the weight of each package, just use `yarn build --env a`

### TODO:

- Incorporate a CI for build out and be capable to use `yarn install --prod` for reduce the node_modules footprint on production.