This is the template that I usually use to create a new ExpressJS GraphQL API project. Feel free to contribute opening issue and/or making PRs ❤️
If you need the REST Api middleware check the branch rest-apis
Make sure you have Node.js
git clone git@github.com:vassalloandrea/express-template.git
cd express-template
npm install
npm run dev
Your app should now be running on localhost:5000.
You can also set an ENV variables called PORT to change it during the startup.
This project uses Jest to run specs.
sh
npm run jest
This project uses ESlint and Prettier to check code style.
npm run eslint