adonis-graphql-server

A GraphQL server built with Apollo server and AdonisJs

Getting Started

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

git clone [email protected]:ammezie/adonis-graphql-server.git

If you use https, use this instead

git clone https://github.com/ammezie/adonis-graphql-server.git

Setup

Run the command below to install dependencies

npm install

Environment variables

Duplicate .env.example and rename it .env

Migrations

Setup your database and enter the following in .env

DB_CONNECTION=mysql
DB_HOST=localhost
DB_DATABASE=adonis_graphql_server
DB_USER=root
DB_PASSWORD=

Run the following command to run migration.

adonis migration:run

Finally, start the application:

adonis serve --dev

and visit http://127.0.0.1:3333 to see the application in action.

Adonis Graphql Server

A GraphQL server built with Apollo server and AdonisJs

Adonis Graphql Server Info

⭐ Stars 31
🔗 Source Code github.com
🕒 Last Update 3 months ago
🕒 Created 4 years ago
🐞 Open Issues 1
➗ Star-Issue Ratio 31
😎 Author ammezie