/typescript-apollo-server-example

A TypeScript Apollo Server example

Primary LanguageTypeScript

A TypeScript Apollo Server example

The server connects to a MySQL database hosted by AWS's RDS service. So before you can connect, you need to set the needed environment variables:

RDS_HOSTNAME

RDS_USERNAME

RDS_PASSWORD

RDS_PORT

Start by running:

npm install

Then to build and start, run:

npm run dev

This should install the necessary packages, build and compile the typescript code to javascript and then have NodeJS run our builed project.