8by8-org / web-app

http://app.8by8.us
4 stars 15 forks source link

Migrate SignUp to Next.js #209

Open ty730 opened 1 year ago

ty730 commented 1 year ago

Problem

We are migrating the web-app to Next.js to take advantage of all its features to improve user experience, improve developer experience, integrate TypeScript and Inversify.js to create a more type safe and testable app, and much more.

In the next-js-migration branch we need the SignUp component to be migrated to use Next.js and TypeScript. Also, we need Unit Tests to be written to test the component.

Goal

Additional context

Things to look for:

To get started create a next-js-migration branch in your fork of the web-app. Then once you've switched to the branch then use npm install to install dependencies and npm run dev to start the development server. You'll probably need to upgrade your node version to 16.0.0 or higher to have things work correctly.

Here are links to more details about the migration including details on Next.js and TypeScript, SCSS structure and guide, naming conventions, and unit tests.

Take a look at the official Next.js documentation and official TypeScript documentation as well as this TypeScript cheat sheet.

For reference here are simple unit tests in Next.js and more complex unit tests from the old CRA framework.