SuperHeroes web application built in React using private and public routes, context for user authentication and query params to preserve searches.
Client
Server
Database
- Public and private routes
- Mock of routes authentication
- Preserve last visited page when the user logs out
https://superheroes-1ut5.onrender.com/
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Git SCM
- Visual Studio Code
- Live Server extension
Clone this repository to your desired folder:
git clone https://github.com/jorgeabrahan/superheroes .git
Or download the ZIP folder.
Once you've cloned the repository simply run:
cd superheroes
npm i
And if you want to analyze the code you can run:
code .
To open the project in VScode
To run the project, if you are on the hello-react-front-end folder path on your terminal you can execute the following command:
npm start
To run tests:
npm run test
npm run build
๐ค Jorge Abrahan
- GitHub: @jorgeabrahan
- LinkedIn: Jorge Abrahan
- Retreive data from an API
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project you can just cheer me up with a comment ๐!
No acknowledgments needed so far!
-
What is this project main purpose?
- To practice working with React, Authentication, and React router private and public routes
This project is MIT licensed.