Simple test of JWT authentication
View here https://jwt-auth-chi.vercel.app/.
- React
- Express with TypeORM and TypeGraphQL
- Vercel (hosting)
- First, we need to install our dependencies. A quick
yarn install
in bothweb/
andserver/
should do the trick - To start the app you can run
yarn run start
in both folders- You can open http://localhost:3000 to view in the front end!
- You can open http://localhost:4000 to view in the back end!
- Play with the graphql playground through http://localhost:4000/graphql
- Login with bob! email:
bobby@bob.com
password:123