Simple GraphQL Project with Node.js and Express using MongoDB as database.
- Install Docker for your operating system.
- Install the Docker Compose tool.
- Run docker-compose
docker-compose up -d --build
This will start backend, frontend and MongoDB.
# Install dependencies for server
cd server
npm install
# Install dependencies for client
cd client
npm install
# Run the Express server only
npm run dev
# Run the React client only
npm run start
# Server runs on http://localhost:8080 and client on http://localhost:3000