Ground Up Server Project
The Ground Up Server project is a personal project with a goal of building a scalable backend service "from the ground up". The phrase "ground up" can also be interpreted, in this case, as making a service whole from different pieces, pieces that are ground up.
Mostly a boilerplate to get some of my personal projects running without starting...from the ground up.
- Create a Node + Apollo GraphQL Backend Service
- Create a MongoDb persistence layer
- Setup Linting and AirBnB Style Guide
- Create CI/CD pipeline with Github Actions and Deploy on Elastic Beanstalk
- Give some examples of some advance Queries and Mutations with GQL
- Simple Auth
- Switch to TS
- Social Auth
- Permissions Layer with GraphQL Shield
- Use Babel to code in ES6
- Use Nodemon to watch for changes in your script for faster dev
- Use dotenv to add environment variables and secrets specific to your project
The minimal Node.js with Babel Setup
Obtain the mongoDB URI from your service and add to .env file. Never add a .env file to version control.
Getting Started
Use ES Lint with the AirBnB guide to keep your code clean
Install the plugin and execute ./node_modules/.bin/eslint --init
ES Lint Plugin
Transpile your ES6 code for
Example Node Server w/ Babel
Deploy to EB after merging to main
Deploy using Github Actions on AWS Elastic BeanStalk
Insomnia_Client_Requests.json