Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cocoawebstudio/apollo-server-boilerplate
- Owner: CocoaWebStudio
- Created: 2020-10-23T03:51:54.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T10:04:42.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T07:07:08.987Z (10 days ago)
- Topics: apollo-server, boilerplate-template, hacktoberfest, jwt-authentication, webpack
- Language: JavaScript
- Homepage:
- Size: 704 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
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 startthe 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.