My Microverse leaderboard project (Module two)
- [π π― leaderboard
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.
Technology
- HTML
- CSS
- Bootstrap 5
- Javascript
- Webpack
- Linters (Lighthouse, Webhint, Stylelint, Eslint)
- Git/GitHub work-flow
Server
Database
To get a local copy up and running follow these simple example steps.
- IDE to edit and run the code (We use Visual Studio Code π₯).
- Git to versionning your work.
-
first install package.json and node_modules run: npm init -y
-
npm install --save-dev hint
-
npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x
-
npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x
- Linters configuration.
Clone the repository to get start with project, then make sure to install dependencies in the linters file located in the linter file
Check for the tests when you generate a pull request and fix the errors if any.
For stylelint error run:
sudo npx stylelint "*/.{css,scss}" --fix
and it will the fix style issues automatically.
-
to test and check the html file/s is error-free run: npx hint .
-
to fix errors run: npx hint . -f
-
to test and check the css file/s is error-free run: npx stylelint "**/*.{css,scss}"
-
to fix errors run: npx stylelint "**/*.{css,scss}" --fix
-
to test and check the js file/s is error-free run: npx eslint .
-
to fix errors run: npx eslint . --fix
π€ Jugoslav Achkoski
- GitHub: jugosack
- Twitter: Jugoslav Achkoski
- LinkedIn: Jugoslav Achkoski
-
Project 2: send and receive data from API.
-
Project 3: final touches.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page
Give a βοΈ if you like this project!
I would like to thank Microverse for the information provided to build this project.
-
Can I use the project for any purpose?
- Yes, you can use this files for anything you need.
-
Is the information saved in any database?
- No, all data is saved in Local Storage.
This project is MIT licensed.