Skip to content

carr-o-t/graphql-authetication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Next.js GraphQL Authentication System

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.

Setup Client

Follow these steps to run the project locally:

  1. Clone the Repository:
    git clone https://github.com/carr-o-t/graphql-authetication.git
  2. Change directory:
    cd client
  3. Install dependencies:
    npm install

Copy Environment Variables

  1. Rename .env.example file to .env.
  2. Update the values in the .env file according to your GraphQL api URL and any other necessary environment variables.

Run the Development Server

npm run dev

Access the Application

Once the development server is up and running, you can access the application in your web browser at http://localhost:3000.

Setup Server

Follow these steps to run the project locally:

  1. Clone the Repository:
    git clone https://github.com/carr-o-t/graphql-authetication.git
  2. Change directory:
    cd server
  3. Install dependencies:
    npm install

Copy Environment Variables

  1. Rename .env.example file to .env.
  2. Update the values in the .env file according to your MongoDB Atlas configuration and any other necessary environment variables.

Run the Development Server

npm start

Access the Application

Once the development server is up and running, you can access the application in your web browser at http://localhost:3000.

Releases

No releases published

Packages

No packages published