A Apollo Server with Apollo Client project with React and Express.
git clone git@github.com:the-road-to-graphql/fullstack-apollo-express-postgresql-boilerplate.git
cd fullstack-apollo-express-postgresql-boilerplate
npm install
npm start
- visit
http://localhost:8000
for GraphQL playground
DATABASE=mydatabase
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
SECRET=asdlplplfwfwefwekwself.2342.dawasdq
The SECRET
is just a random string for your authentication. Keep all these information secure by adding the .env file to your .gitignore file. No third-party should have access to this information.