Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
scaler-assessments
Advanced tools
This is the repository for the Frontend of Scaler Contest Platform.
Clone the repository:
git clone https://github.com/KingsGambitLab/assessments.git
Navigate to the project directory:
cd assessments/frontend
Install dependencies using Yarn:
yarn install
In the project directory, you can run the following commands:
Start the development server:
yarn dev
This command runs the development server powered by Vite.
Build the production-ready code:
yarn build
This command builds the project using TypeScript and Vite.
Lint the code:
yarn lint
This command runs ESLint to perform code linting.
Automatically fix linting issues:
yarn lint:fix
This command runs ESLint with the --fix
flag to automatically fix linting issues when possible.
Start a preview server:
yarn preview
This command starts a server to preview the production build.
Run Storybook in development mode:
yarn storybook
This command starts the Storybook development server.
Build the Storybook static files:
yarn build-storybook
This command creates a production-ready build of the Storybook.
Below is the structure of src
folder in the code base
βββ components
β βββ SampleComponent
β β βββ SampleComponent.jsx
β β βββ SampleComponent.module.scss (Optional)
β β βββ index.js
β βββ sampleHoc
β β βββ sampleHoc.js
β β βββ index.js
βββ pages
β βββ SamplePage
β β βββ SamplePage.jsx
β β βββ SamplePage.module.scss (Optional)
β β βββ index.js
β β βββ SamplePageComponent (Optional if you need to split your page into multiple smaller components)
β β β βββ SamplePageComponent.jsx
β β β βββ SamplePageComponent.module.scss
β β β βββ index.js
βββ hooks
β βββ useSampleHook
β β βββ useSampleHook.js
β β βββ index.js
βββ services
βββ stores
βββ utils
β βββ sampleFunction.js
βββ api
β βββ postsApi.js
βββ propTypes
β βββ postsResourceType.js
β βββ someCustomType.js
βββ data
/components
folder..jsx
extension. .js
extension can be used for hoc's (Higher order components)./pages
folder./stores
folder./utils
folder. Create a file for each function./services
folder./hooks
folder. Create a folder for each hook and re export the hook using index.js
./api
folder. We should follow the same structure as backend controllers for these folders./propTypes
folder. Mostly we will be adding proptypes for resources returned form server. Create one file for each new proptype./data
folder.FAQs
This is the repository for the Frontend of Scaler Contest Platform.
We found that scaler-assessments demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.