Skip to content

vassalloandrea/express-template

Repository files navigation

ExpressJS GraphQL API template

codecov

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

Main technologies

Running Locally

Make sure you have Node.js

git clone [email protected]: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.

Run tests

This project uses Jest to run specs.

sh
npm run jest

Run linter

This project uses ESlint and Prettier to check code style.

npm run eslint