Skip to content

✍️ PenDown is an online note-sharing platform for Notability and Goodnotes users

License

Notifications You must be signed in to change notification settings

AOPLab/PenDown-fe-chakra

Repository files navigation

PenDown Frontend

Dev Environment

Development

  1. Clone this repository
git clone https://github.com/AOPLab/PenDown-fe-chakra.git
  1. Open the directory in your favorite text editor (VS Code is highly recommended). If you are using VS Code, please make sure you have the mentioned plugins installed.
  2. In terminal, use yarn to install the dependencies.
  3. Before you run our app, please connect to a backend server (either ours or yours)
  4. Run yarn start to run the app in the development mode.

Connecting to Our Server

You have two options:

  1. Please contact us for the .env file. Our present data are all stored in our server.
  2. If you want to replicate this app, please also consider to clone our PenDown-be repository, and follow the instructions there.

In your .env, you should put in:

SKIP_PREFLIGHT_CHECK = true
REACT_APP_API_ROOT='http://127.0.0.1:8080'
REACT_APP_OAUTH_ID=YOUR_AUTH_ID

You should sign up for your own "Continue with Google" AUTH ID. That said, it won't cost you anything if you don't do so, that'll allow your clients to continue without Google.

That'll do it.

Unit Test

Test Result: 34 pass / 34 tests

Components

  1. MiscCard
  2. CourseCard
  3. NoteCard

Form

  1. LoginForm
  2. RegisterForm

Redux

  1. note
  2. user
  3. school

Function

  1. avatarSrc
  2. statFormatting

Automated User Acceptance Test

Please refer to PenDown-test

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

✍️ PenDown is an online note-sharing platform for Notability and Goodnotes users

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages