Project for learning SPA with pure javascript. Location hash for route management.
Show information about Rick and Morty characters from an API https://rickandmortyapi.com/api/character/
This project has three pages: home, character and 404 error.
- home shows a list of the first 20 characters in the API
- character contains the detailed information of a selected character
- 404 error is displayed when the path does not exist (used in the About link).
If you want to see the demo of this project deployed, you can visit https://wilson-romero.github.io/spa-js-vanilla/
To clone the repository, follow the steps below on the command line:
git clone https://github.com/wilson-romero/spa-js-vanilla.git
cd spa-js-vanilla
To install and run this project just type and execute
npm i
npm run start