A social network API built with Apollo & GraphQL.
Open a terminal in the project directory and run:
npm run start
Code should be compiled on the fly from TypeScript using ts-node. The server uses nodemon to update on changes.
Once configured, the server should be available at http://localhost:3000/graphql
.
Run tests using Jest.
npm run test
To run build and run a production server:
npm run build
npm run prod:start
The command will compile the TS files into JS, and copy your graphql files into the built project in the dist
folder.
Brought to you by CodeRoad :)