A basic chat app developed using MERN stack along with GraphQL and Apollo.
Used Vercel to deploy the frontend of the project.
https://summer-project.vercel.app/
Used Heroku to deploy the backend of the project.
https://message-app-apis.onrender.com/graphql
- Clone the repository:
git clone https://github.com/Jaay7/summer-project.git
- For backend:
- First navigate to the backend directory:
cd backend
- Installing the dependencies:
npm install
- Create a new file .env with:
MONGODB_URI = <MONGODB_URI>
APP_SECRET = <APP_SECRET>
APP_REFRESH_SECRET = <APP_REFRESH_SECRET>
- To start the server:
npm start
Open http://localhost:4000/graphql to view it in the browser. It will open the graphql playground.
- For Frontend:
- First navigate to the frontend directory:
cd frontend
- Install the dependencies.
yarn
- Running the App:
yarn start
Open http://localhost:3001 to view it in the browser.