This is a Leaderboard project setup using webpack and ES6 modules. I haveve built a basic frontend with HTML, CSS and JavaScript to post and get data from the API https://us-central1-js-capstone-backend.cloudfunctions.net/api/ where I first created a game through Postman and after created a basic UI that with asynchronous code sends a POST request through the submit button of the "Add your score" form, and sends a GET request through the "refresh" button in the recent scores table.
- JavaScript
- HTML
- CSS
- Webpack
To get a local copy up and running follow these simple example steps.
Web browser (Google Chrome, Firefox, Safari)
Go to the top of the page, press te green button that says "Code", and copy the link. Then you have to go to your console and type
Git clone https://github.com/algerina/Leaderboard.git
That's all, you are ready to go!
Run the following command to have all npm packages dependencies installed: npm install
To start the webpack-dev-server, run the following command npm start
Javascript linters
npx eslint .
HTML linters
npx hint .
CSS linters
npx stylelint "**/*.{css,scss}"
👤 Amel Khiri
- GitHub: @Algerina
- LinkedIn: Amel Khiri
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.