- Clone the repository:
git clone git@github.com:angelofmfonseca/mern-with-graphql.git
- Install dependencies:
yarn or npm install
- In the root of the project, run:
yarn dev or npm run dev
The server will run on http://localhost:5000/
and connect to MongoDB
- To simulate requests on GraphiQL, go to
http://localhost:5000/graphql
- In the client directory, run:
yarn dev or npm run dev
The client will run on http://localhost:5173/