This project is a GraphQL-based application that utilizes Prisma for database management. It provides a GraphQL API for interacting with the underlying data model.
- GraphQL API with Prisma as ORM
- Node.js backend
- Uses Babel for ES6+ support
- Dependency management with Yarn/NPM
- Configured with
.graphqlconfigfor GraphQL tools
Ensure you have the following installed:
-
Clone the repository:
git clone <repository-url> cd GraphQLProject/server
-
Install dependencies:
yarn install # or npm install -
Setup Prisma:
npx prisma migrate dev --name init
-
Start the development server:
yarn start # or npm run start
-
graphqlconfig: Configures GraphQL tools for development
-
prisma/datamodel.graphql: Defines the database schema
Once the server is running, you can access the GraphQL playground at:
http://localhost:4000You can execute queries and mutations based on the provided schema.