Starting point for your next awesome API Hybrid gives you the best of both worlds REST and GraphQL with awesome stack. Just keep reading this readme file to discovering it.
Are you interested? 👀 Live Demo : https://hybridapi.herokuapp.com/
REST API Documentation: https://hybridapi.herokuapp.com/api-docs/ (Swagger UI)
JS Documentation: https://hybridapi.herokuapp.com/docs (JSDoc)
- Webpack (with Babel & Eslint Loader)
- Nodemon
- Winston for logging (console and log file)
- Webpack & Babel
- Dockerized
- PM2
- Heroku ready
- Mocha & Chai (with auth & user tests)
- Coverage ready with NYC
- Codecov ready
- Travis
- Swagger UI & server
- JSDoc (a classic)
- Postman ( I ❤️it)
- Seeding
- Eslint
- Prettier
- Babel 7
- Webpack
- Apollo Server
- Express
- MongoDB with Mongoose
- Redis Cache (on both of REST & GrapQL)
- Multer
- Passport
- Jwt
// Clone it
git clone https://github.com/stevenselcuk/hybrid.git
// enter folder
cd hybrid
// Install deps
yarn
// Seed admin account and other demo material
yarn seed
// For using Nodemon
yarn dev
// or using Webpack
yarn dev:webpack
// That's all
Build with Webpack
yarn build
or building with Babel
yarn build:babel
yarn test