Full-stack web app to keep track of your favorite shows.
Front: Vite, React, Redux, TypeScript, Chakra UI
API: Node.js, Express, MongoDB Atlas, TypeScript
This will start the front-end and use the production API for API requests so you don't need to run the local API.
npm install
npm start
# Start the local API
npm run serve:local
# Start the app
npm run start:local
- All ENV files on the frontend are checked into git, except for the google OAuth token. If you need to use Google OAuth locally, then create a file
front/.env.local
which containsVITE_GOOGLE_OAUTH_CLIENT_ID
.
To run the e2e tests:
- Make sure the local dev server is running:
npm run start
- Install playwright:
npx playwright install
- Run the tests:
npm run test:ui