This project is a single-page application built with React.js using TypeScript and Vite. The application fetches data from a GraphQL endpoint using Apollo Client and includes animations with Framer Motion. The final project is deployed and live at [Visit Coolage].
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- npm or yarn
- Clone the repository
git clone https://github.com/vikas95prasad/coolage-web.git
- cd coolage-web
cd your-repo-name
- Install dependencies
npm install
Technologies Used
- React.js: A JavaScript library for building user interfaces
- TypeScript: A superset of JavaScript that adds static typing
- Vite: A fast build tool and development server
- Apollo Client: A comprehensive state management library for JavaScript that enables you to manage both local and remote data with GraphQL
- Framer Motion: A library to power animations in React
To set up the project, follow these steps:
- Clone the repository and install dependencies as described in the Installing section.
- Create a .env file in the root of the project with your GraphQL endpoint:
VITE_GRAPHQL_ENDPOINT=https://your-graphql-endpoint
- To start the development server:
npm run dev
- Open http://localhost:3000 to view it in the browser.