The repo powering the Alkye Services Frontend Assignment
Install the latest version of Node.js and npm. You can install the latest version (recommended) of Node.js or just download it directly here.
Next, run the following commands:
npm install
npm run devIn order to work together seamlessly, the project is organized in a way that makes it easy to find what you're looking for. The project is organized as follows:
srccomponents: Contains all the reusable components used across the app[page]: Contains all the components used on a specific page
pages: Contains all the route exposed pages of the applayouts: Contains all the page layouts for apphooks: Contains all the custom hooks used across the apputils: Contains all the utility functions used across the appassets: Contains all the assets used across the app
Overall there should be little to no business logic in a page itself. It should all be handled in the components and hooks.
- All files names are kebab case except for hooks which are camel cased. For example,
useMyHook.jsandmy-component.jsx - All components, hooks, and utilities should be exports while all pages should be default exports
- No inline styles should be allowed, class-based styles must be use instead.