This project is designed for educational purposes and serves as a practical exploration of GraphQL using Apollo Server. GraphQL is a powerful query language that allows efficient and flexible data retrieval from the server to the client. By combining GraphQL with Apollo Server, we can create a robust and scalable backend architecture for our application.
The primary objective of this project is to deepen my understanding of GraphQL and learn its implementation with Apollo Server.
- GraphQL
- Apollo Server
- json-server
- nodemon
Node.js: v19.9.0 npm: 9.6.3
To get started with this project, follow these steps:
- Clone the repository.
- Verify that you have Node.js version 19.9.0 installed by running node -v in the terminal.
- Install the necessary dependencies using npm install.
- Run the command npx json-server --watch api/data/data.json to start the json-server and watch the provided data file.
- Users: http://localhost:3000/users
- Roles: http://localhost:3000/roles
This project is solely intended for my personal educational purposes. It provides a safe environment for me to study and experiment with GraphQL and Apollo Server concepts.