The Leaderboard is a javascript App that displays scores submitted by different players. It is developed using webpack and ES6 features. It allows you to submit scores of players to the scoreboard and all data is preserved to the external Leaderboard API.
- Webpack
- HTML and CSS
- Javascript
To get a local copy up and running follow these simple example steps.
- Clone this repo to your local machine, run git clone and paste the url of the repository
git clone https://github.com/Tumworobere/Leaderboard.git
in your command prompt
- Set up a new project with webpack
- Follow the instructions from the getting started guide to set up the basics. Implement all the steps from Basic Setup to NPM Scripts.
- The next step is to add html file : Follow the instructions from the setting up HtmlWebpackPlugin guide Then
npm run build
-
Create a /src/index.html for writing the project
-
Then modify webpack.config.js to point HtmlWebpackPlugin towards your template file:
plugins: [
new HtmlWebpackPlugin({
- title: 'Output Management',
+ template: './src/index.html'
}),
],
- Run
npm run build
to update the /dist/index.html. - Then it is time to add some style to the project:
Follow the steps in loading CSS guide.
Next, execute
npm run build
and check if the HTML body style has changed.
- Finally,follow the using webpack-dev-server guide and set it up on your local machine.
👤 Tumworobere Annah
- GitHub: @tumworobere
- Twitter: @Tannah2090
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
This project is MIT licensed.