This project is a basic GraphQL server built using Apollo Server and JavaScript.
394
This project is a basic GraphQL server built using Apollo Server and JavaScript. It serves a simple query that returns a "Hello World" message as a response. The purpose of this application is to demonstrate a minimal GraphQL implementation in JavaScript using Apollo Server.
hello"Hello World from GraphQL in javascript"A list of technologies used within the project:
Follow these steps to install and run the project:
Ensure you have Node.js installed on your machine:
node --version
npm --version
Copy the repository
git clone https://github.com/nava2105/js_graphql.git
Enter the directory
cd ../js_graphql
Install the dependencies
npm install
Run the server
node app.js
Open a browser and enter to Server: http://localhost:4000
Or to review the endpoints in Swagger enter to http://localhost:4000/api-docs
Pull the image from Docker-hub
docker pull na4va4/js_graphql
Start a container from the image
docker run -p 4000:4000 na4va4/js_graphql
Open a browser and enter to Server: http://localhost:4000
Or to review the endpoints in Swagger enter to http://localhost:4000/api-docs
Content type
Image
Digest
sha256:6b07d00dc…
Size
393.2 MB
Last updated
almost 2 years ago
docker pull na4va4/js_graphql