This project is a simple authentication app built using Next.js, Apollo GraphQL. The backend is powered by Node.js with MongoDB Atlas as the database and Apollo GraphQL for handling GraphQL queries and mutations. For styling, Material-UI (MUI) is used.
Follow these steps to run the project locally:
- Clone the Repository:
git clone https://github.com/carr-o-t/graphql-authetication.git
- Change directory:
cd client - Install dependencies:
npm install
- Rename
.env.examplefile to.env. - Update the values in the
.envfile according to your GraphQL api URL and any other necessary environment variables.
npm run devOnce the development server is up and running, you can access the application in your web browser at http://localhost:3000.
Follow these steps to run the project locally:
- Clone the Repository:
git clone https://github.com/carr-o-t/graphql-authetication.git
- Change directory:
cd server - Install dependencies:
npm install
- Rename
.env.examplefile to.env. - Update the values in the
.envfile according to your MongoDB Atlas configuration and any other necessary environment variables.
npm startOnce the development server is up and running, you can access the application in your web browser at http://localhost:3000.