Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

mypolitics/mypolitics-api

Repository files navigation

GitHub David Code Style

mypolitics-api

mypolitics-api is an app made with Node.js, MongoDB and TypeScript, which provides GraphQL API for myPolitics political test.

logo

Installation

The first time, get all the dependencies loaded via

npm install

Then, define custom environment variables by creating .env file according to this pattern

# MongoDB database URI
DATABASE_URI=

# Development variables
PORT=8000
NODE_ENV=development

Finally, run the server with

npm start

License

MIT