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.example
file to.env
. - Update the values in the
.env
file according to your GraphQL api URL and any other necessary environment variables.
npm run dev
Once 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.example
file to.env
. - Update the values in the
.env
file according to your MongoDB Atlas configuration and any other necessary environment variables.
npm start
Once the development server is up and running, you can access the application in your web browser at http://localhost:3000
.