/express-apollo-api

A combination of Express.js and Apollo Servers

Primary LanguageTypeScript

Express & &Apollo Server with Typescript

Version Documentation Maintenance


Used Stack :

  • Node.js

  • Express.js

  • Mongoose.js

  • Passport-Local

  • Jsonwebtokens

  • Jest

  • Apollo

  • Graphql

  • Typescript

Installation Instructions
You must have the Node.js and npm installed before this steps.For more[Node.js](https://nodejs.org/en/download/)
  1. Clone the Repo:

$ git clone https://github.com/rizikolik/express-apollo-api.git

$ cd express-apollo-api

  1. Install the app with the help of package.json:
$ yarn install

or with npm

$npm i
  1. Start the server :
$ yarn build
$yarn start
with npm
$ npm run build
$npm run start

Default Express.js routes are start with /api Graphql routes starts with /graphql

Deployment

Deployed at Heroku @ https://express-apollo-api.herokuapp.com/api
Graphql queries can be done at @ https://express-apollo-api.herokuapp.com/graphql

Check collection with Postman :

Run in Postman

Testing

After cloning the app and installation process please run :

$yarn test
Other

Authors

👤 Yunus TURE

How to contribute ?

Contributions, issues and feature requests are welcome! Feel free to check issues page.

Fork it (https://github.com/rizikolik/express-apollo-api.git/fork)
Create your working branch (git checkout -b [choose-a-name])
Commit your changes (git commit-m "commit")
Push to the branch (git push origin [chosen-name])
Create a new Pull Request