You can use this repository as a template for your frontend. It provides a very simple
React Router layout with a navbar, an AuthContext
with login and register pages, and an
ApiContext
with two custom hooks: useQuery
and useMutation
.
- Change the name of the package in
package.json
. - Update the environment variables in
example.env
and rename the file to.env
. - Build components and add routes to them in
App.jsx
.