- Paragon backend built with Node, GraphQL, Express, Sequelize (MySQL) and JWT Auth
- Written in ES6+ using Babel
paragon-backend
├── public
├── src
│ ├── config
│ ├── migrations
│ ├── modules
│ ├── seeders
│ ├── setup
│ └── index.js
├── package.json
├── .gitignore
└── README.md
- Prerequisites
- Node 10
- MySQL 5.7
- Clone repo
git clone https://gitlab.com/finlee98/paragon-backend.git
- Switch to
paragon-backend
directorycd paragon-backend
- Configurations
- Modify
/src/config/database.json
for database credentials - Modify
.env
for PORT (optional)
- Modify
- Setup
- Create paragon database using MySql (might create script for auto generate database)
- Install packages and database setup (migrations and seed)
npm run setup
- Development
- Run API
npm start
, then navigate GraphiQL using your favorite browser in http://localhost:8000/
- Run API
- Production
- Run API
npm run start:prod
, creates an optimized build inbuild
directory and runs the server 🚧
- Run API
- ✍️ Opinionated project architecture for Full-Stack JavaScript Applications - GitHub
- 🌈 Simple Fullstack GraphQL Application - GitHub
- Zero to GraphQL in 30 Minutes - YouTube
- Building a GraphQL Server YouTube Playlist