Please install nvm (Node Version Manager) before moving on.
- Copy
.env.example
into.env
and updateGIFPHY_API_KEY
with your Gifphy api key - Install node with
nvm install
- Install dependencies with
npm install
- Setup server with
npm run dev
npm run test:browser
: Runs browser testnpm run test
: Runs unit test
.
├── __mocks__ # Mocks setup for parsing stylesheets in unit test
├── __tests__ # Unit test
├── components # React components
├── cypress # Browser test
├── libs # Customer libraries for shared logic
├── pages # SSR pages
├── public # Static assets
└── styles # Stylesheets
- dotenv - Environment variable configuration
- Next.js - Integrated React setup for getting an APP running asap
- yarn - Package dependency manager
- axios - Handles request to fetch GIFs
- lodash - Handles debounce for GIFs filter
- React
- Cypress - Browser testing
- Enzyme - Testing utility for React
- Eslint - JavaScript linter
- Jest - Unit testing