Skip to content

ammezie/graphql-blog-cms-api

Repository files navigation

graphql-blog-cms-api

A Blog CMS API powered by GraphQL and Apollo server

Getting Started

Clone the project repository by running the command below if you use SSH

git clone git@github.com:ammezie/graphql-blog-cms-api.git

If you use https, use this instead

git clone https://github.com/ammezie/graphql-blog-cms-api.git

After cloning, run:

npm install

Rename .env.example to .env then fill in your database detail and your JWT secret:

NODE_ENV=development
DB_HOST=localhost
DB_USERNAME=root
DB_PASSWORD=
DB_NAME=graphql_blog_cms
JWT_SECRET=somereallylongsecretkey

Then run the migration:

sequelize db:migrate

And finally, start the application:

npm start

Then visit http://localhost:3000/graphiql to see the application in action.

Releases

No releases published

Packages

No packages published