Skip to content

jimmykimani/GraphQL-Server-Tutorial-with-Apollo-Server-and-Express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes Service

This is the Node JS Backend for the GraphQL-Server-Tutorial-with-Apollo-Server-and-Express

  • Clone the repo:

    git clone https://github.com/jimmykimani/GraphQL-Server-Tutorial-with-Apollo-Server-and-Express
  • Checkout the development branch:

      git checkout development
    • Install and start PostgreSQL DBMS and create a database with the details in the .env:
    CREATE DATABASE mynotes;
    CREATE USER postgres;
    GRANT ALL PRIVILEGES ON DATABASE members TO postgres;
  • Edit the .env with the following settings:

    PORT=3000
    DATABASE=mynotes
    DATABASE_USER=postgres
    DATABASE_PASSWORD=postgres
  • To start the server run:

    npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published